	.file	"extr_wireguard.c_config_parse_wireguard_listen_port.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"auto"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Invalid port specification, ignoring assignment: %s"
	.text
	.p2align 4
	.globl	config_parse_wireguard_listen_port
	.type	config_parse_wireguard_listen_port, @function
config_parse_wireguard_listen_port:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, QWORD PTR 56[rsp]
	mov	r13, QWORD PTR 64[rsp]
	mov	rdi, rbx
	call	assert@PLT
	mov	rdi, r13
	call	assert@PLT
	mov	rdi, rbx
	call	isempty@PLT
	test	rax, rax
	je	.L2
.L4:
	mov	QWORD PTR 0[r13], 0
.L3:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, rbx
	call	streq@PLT
	test	rax, rax
	jne	.L4
	mov	rsi, r13
	mov	rdi, rbx
	call	parse_ip_port@PLT
	test	eax, eax
	jns	.L3
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	esi, DWORD PTR LOG_ERR[rip]
	mov	rdx, r12
	mov	r8d, eax
	push	rbx
	.cfi_def_cfa_offset 64
	lea	r9, .LC1[rip]
	mov	ecx, r14d
	mov	rdi, rbp
	call	log_syntax@PLT
	pop	rax
	.cfi_def_cfa_offset 56
	pop	rdx
	.cfi_def_cfa_offset 48
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	config_parse_wireguard_listen_port, .-config_parse_wireguard_listen_port
	.comm	LOG_ERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_wireguard.c_config_parse_wireguard_listen_port.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"auto\000"
	.align	2
.LC1:
	.ascii	"Invalid port specification, ignoring assignment: %s"
	.ascii	"\000"
	.text
	.align	2
	.global	config_parse_wireguard_listen_port
	.syntax unified
	.arm
	.fpu softvfp
	.type	config_parse_wireguard_listen_port, %function
config_parse_wireguard_listen_port:
	@ args = 24, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	sp, sp, #16
	ldr	r4, [sp, #52]
	ldr	r7, [sp, #56]
	mov	r8, r0
	mov	r0, r4
	mov	r6, r1
	mov	r5, r2
	bl	assert
	mov	r0, r7
	bl	assert
	mov	r0, r4
	bl	isempty
	cmp	r0, #0
	beq	.L2
.L4:
	mov	r3, #0
	str	r3, [r7]
.L3:
	mov	r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r4
	ldr	r1, .L7
	bl	streq
	cmp	r0, #0
	bne	.L4
	mov	r1, r7
	mov	r0, r4
	bl	parse_ip_port
	cmp	r0, #0
	bge	.L3
	ldr	ip, .L7+4
	ldr	r1, .L7+8
	str	r0, [sp]
	str	r4, [sp, #8]
	ldr	r1, [r1]
	mov	r3, r5
	mov	r2, r6
	mov	r0, r8
	str	ip, [sp, #4]
	bl	log_syntax
	b	.L3
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	.LC1
	.word	LOG_ERR
	.size	config_parse_wireguard_listen_port, .-config_parse_wireguard_listen_port
	.comm	LOG_ERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
