	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function regress_sockaddr_port_parse
_regress_sockaddr_port_parse:           ## @regress_sockaddr_port_parse
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_sa_port_ents@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	cmpq	$0, 8(%r14)
	je	LBB0_15
## %bb.1:
	leaq	8(%r14), %r13
	movl	$32, %r15d
	leaq	-160(%rbp), %rbx
	movq	%r14, %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%rcx, %rcx
	je	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdi
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_TT_FAIL
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_sa_port_ents@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	leaq	(%r12,%r15), %r13
	leaq	(%r12,%r15), %r14
	addq	$-8, %r14
	cmpq	$0, (%r12,%r15)
	leaq	24(%r15), %r15
	je	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$56, -44(%rbp)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	(%r13), %rdi
	movq	%rbx, %rsi
	leaq	-44(%rbp), %rdx
	callq	_evutil_parse_sockaddr_port
	movq	(%r14), %rcx
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r14
	movq	_AF_INET@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rcx
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-104(%rbp), %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	(%rbx), %rax
	movq	%rax, -56(%rbp)
	movl	-12(%r12,%r15), %edi
	callq	_htons
	movq	%rax, -64(%rbp)
	movq	(%rbx), %rdi
	movl	-16(%r12,%r15), %esi
	leaq	-72(%rbp), %rdx
	jmp	LBB0_7
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-104(%rbp), %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	_AF_INET6@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	%rax, -80(%rbp)
	movl	-12(%r12,%r15), %edi
	callq	_htons
	movq	%rax, -88(%rbp)
	movq	(%rbx), %rdi
	movl	-16(%r12,%r15), %esi
	leaq	-96(%rbp), %rdx
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_evutil_inet_pton
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	-104(%rbp), %rdi
	movq	%r14, %rbx
	movq	%r14, %rsi
	movl	$56, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$56, -44(%rbp)
	jne	LBB0_12
	jmp	LBB0_14
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	-16(%r12,%r15), %rdi
	movq	%r14, %rbx
	jmp	LBB0_13
LBB0_15:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sa_port_ents,8,3               ## @sa_port_ents
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.no_dead_strip	_regress_sockaddr_port_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function regress_sockaddr_port_parse
_regress_sockaddr_port_parse:           ; @regress_sockaddr_port_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x21, _sa_port_ents@GOTPAGE
Lloh1:
	ldr	x21, [x21, _sa_port_ents@GOTPAGEOFF]
	ldr	x28, [x21]
	mov	x26, x28
	ldr	x8, [x26, #8]!
	cbz	x8, LBB0_15
; %bb.1:
	mov	x22, #0
	add	x8, sp, #8
	add	x19, x8, #8
	add	x20, x8, #32
	mov	w23, #56
Lloh2:
	adrp	x24, _AF_INET@GOTPAGE
Lloh3:
	ldr	x24, [x24, _AF_INET@GOTPAGEOFF]
Lloh4:
	adrp	x25, _AF_INET6@GOTPAGE
Lloh5:
	ldr	x25, [x25, _AF_INET6@GOTPAGEOFF]
	mov	x27, x28
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	cbz	x8, LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x26]
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_TT_FAIL
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x27, [x21]
	add	x26, x27, x22
	ldr	x8, [x26, #32]!
	sub	x28, x26, #8
	add	x22, x22, #24
	cbz	x8, LBB0_15
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	str	w23, [sp, #68]
	add	x0, sp, #72
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	ldr	x0, [x26]
	add	x1, sp, #72
	add	x2, sp, #68
	bl	_evutil_parse_sockaddr_port
	ldr	x8, [x28]
	tbnz	w0, #31, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	x8, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x24]
	add	x0, sp, #8
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	ldr	x8, [x24]
	str	x8, [sp, #56]
	add	x27, x27, x22
	ldr	w0, [x27, #20]
	bl	_htons
	str	x0, [sp, #48]
	ldr	x0, [x24]
	ldr	w1, [x27, #16]
	mov	x2, x20
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	ldr	x8, [x25]
	str	x8, [sp, #32]
	add	x27, x27, x22
	ldr	w0, [x27, #20]
	bl	_htons
	str	x0, [sp, #24]
	ldr	x0, [x25]
	ldr	w1, [x27, #16]
	mov	x2, x19
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_evutil_inet_pton
	cmp	w0, #1
	b.ne	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #8
	add	x1, sp, #72
	mov	w2, #56
	bl	_memcmp
	cbnz	x0, LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [sp, #68]
	cmp	w8, #56
	b.ne	LBB0_3
	b	LBB0_5
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrsw	x0, [x27, #16]
	b	LBB0_4
LBB0_15:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_sa_port_ents,8,3               ; @sa_port_ents
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.no_dead_strip	_regress_sockaddr_port_parse
.subsections_via_symbols
