	.file	"extr_regress_util.c_regress_sockaddr_port_parse.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	regress_sockaddr_port_parse, @function
regress_sockaddr_port_parse:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 144
	.cfi_def_cfa_offset 192
	mov	rbx, QWORD PTR sa_port_ents[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 136[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR 8[rbx], 0
	je	.L1
	mov	ebp, 24
	lea	r12, 16[rsp]
	lea	r13, 12[rsp]
	lea	r14, 80[rsp]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR [rbx]
	test	rax, rax
	je	.L17
	xor	esi, esi
	cmp	rax, QWORD PTR AF_INET[rip]
	mov	edx, 56
	mov	rdi, r14
	je	.L22
	call	memset@PLT
	mov	rax, QWORD PTR AF_INET6[rip]
	mov	edi, DWORD PTR 20[rbx]
	mov	QWORD PTR 104[rsp], rax
	call	htons@PLT
	mov	esi, DWORD PTR 16[rbx]
	lea	rdx, 88[rsp]
	mov	rdi, QWORD PTR AF_INET6[rip]
	mov	QWORD PTR 96[rsp], rax
	call	evutil_inet_pton@PLT
	cmp	eax, 1
	je	.L10
.L18:
	movsx	rdi, DWORD PTR 16[rbx]
	call	TT_FAIL@PLT
.L4:
	mov	rbx, QWORD PTR sa_port_ents[rip]
	add	rbx, rbp
	add	rbp, 24
	cmp	QWORD PTR 8[rbx], 0
	je	.L1
.L13:
	xor	esi, esi
	mov	edx, 56
	mov	rdi, r12
	mov	DWORD PTR 12[rsp], 56
	call	memset@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	rdx, r13
	mov	rsi, r12
	call	evutil_parse_sockaddr_port@PLT
	test	eax, eax
	jns	.L3
	cmp	QWORD PTR [rbx], 0
	je	.L4
.L17:
	mov	rdi, QWORD PTR 8[rbx]
	call	TT_FAIL@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L22:
	call	memset@PLT
	mov	rax, QWORD PTR AF_INET[rip]
	mov	edi, DWORD PTR 20[rbx]
	mov	QWORD PTR 128[rsp], rax
	call	htons@PLT
	mov	esi, DWORD PTR 16[rbx]
	lea	rdx, 112[rsp]
	mov	rdi, QWORD PTR AF_INET[rip]
	mov	QWORD PTR 120[rsp], rax
	call	evutil_inet_pton@PLT
	cmp	eax, 1
	jne	.L18
.L10:
	mov	edx, 56
	mov	rsi, r12
	mov	rdi, r14
	call	memcmp@PLT
	test	rax, rax
	jne	.L17
	cmp	DWORD PTR 12[rsp], 56
	je	.L4
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 136[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L23
	add	rsp, 144
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	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
.L23:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	regress_sockaddr_port_parse, .-regress_sockaddr_port_parse
	.comm	sa_port_ents,8,8
	.comm	AF_INET6,8,8
	.comm	AF_INET,8,8
	.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_regress_util.c_regress_sockaddr_port_parse.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	regress_sockaddr_port_parse, %function
regress_sockaddr_port_parse:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r6, .L36
	ldr	r3, .L36+4
	ldr	r4, [r6]
	sub	sp, sp, #76
	ldr	r3, [r3]
	str	r3, [sp, #68]
	mov	r3,#0
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L1
	mov	r5, #16
	mov	r7, #32
	ldr	r8, .L36+8
	ldr	r9, .L36+12
	b	.L13
.L3:
	cmp	r3, #0
	beq	.L29
	ldr	r2, [r8]
	cmp	r3, r2
	beq	.L34
	mov	r2, #32
	mov	r1, #0
	add	r0, sp, #36
	bl	memset
	ldr	r3, [r9]
	ldr	r0, [r4, #12]
	str	r3, [sp, #52]
	bl	htons
	mov	r3, r0
	ldr	r1, [r4, #8]
	ldr	r0, [r9]
	add	r2, sp, #44
	str	r3, [sp, #48]
	bl	evutil_inet_pton
	cmp	r0, #1
	beq	.L10
.L30:
	ldr	r0, [r4, #8]
	bl	TT_FAIL
.L4:
	ldr	r4, [r6]
	add	r4, r4, r5
	ldr	r3, [r4, #4]
	add	r5, r5, #16
	cmp	r3, #0
	beq	.L1
.L13:
	mov	r2, #32
	mov	r1, #0
	add	r0, sp, #4
	str	r7, [sp]
	bl	memset
	mov	r2, sp
	ldr	r0, [r4, #4]
	add	r1, sp, #4
	bl	evutil_parse_sockaddr_port
	cmp	r0, #0
	ldr	r3, [r4]
	bge	.L3
	cmp	r3, #0
	beq	.L4
.L29:
	ldr	r0, [r4, #4]
	bl	TT_FAIL
	b	.L4
.L34:
	mov	r2, #0
	str	r2, [sp, #36]
	str	r2, [sp, #40]
	str	r2, [sp, #44]
	str	r2, [sp, #48]
	str	r2, [sp, #52]
	str	r2, [sp, #56]
	str	r2, [sp, #60]
	ldr	r0, [r4, #12]
	str	r3, [sp, #64]
	bl	htons
	mov	r3, r0
	ldr	r1, [r4, #8]
	ldr	r0, [r8]
	add	r2, sp, #56
	str	r3, [sp, #60]
	bl	evutil_inet_pton
	cmp	r0, #1
	bne	.L30
.L10:
	mov	r2, #32
	add	r0, sp, #36
	add	r1, sp, #4
	bl	memcmp
	cmp	r0, #0
	bne	.L29
	ldr	r3, [sp]
	cmp	r3, #32
	beq	.L4
	b	.L29
.L1:
	ldr	r3, .L36+4
	ldr	r2, [r3]
	ldr	r3, [sp, #68]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L35
	add	sp, sp, #76
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L35:
	bl	__stack_chk_fail
.L37:
	.align	2
.L36:
	.word	sa_port_ents
	.word	.LC0
	.word	AF_INET
	.word	AF_INET6
	.size	regress_sockaddr_port_parse, .-regress_sockaddr_port_parse
	.comm	sa_port_ents,4,4
	.comm	AF_INET6,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
