	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_defaults
_test_defaults:                         ## @test_defaults
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PF_INET@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_SOCK_STREAM@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	subq	$8, %rsp
	leaq	L_.str.3(%rip), %r10
	leaq	L_.str.2(%rip), %r13
	leaq	L_.str.1(%rip), %rbx
	leaq	L_.str(%rip), %rax
	leaq	-44(%rbp), %r12
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r10
	pushq	%r13
	pushq	%rbx
	movq	%rax, %rbx
	pushq	%rax
	pushq	%r12
	callq	_socket_listen
	addq	$48, %rsp
	testq	%rax, %rax
	js	LBB0_6
## %bb.1:
	movl	-44(%rbp), %edi
	callq	_close
	movl	(%r15), %edi
	movl	(%r14), %esi
	movq	_somaxconn@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	subq	$8, %rsp
	leaq	L_.str.4(%rip), %rax
	xorl	%edx, %edx
	movl	$-1, %ecx
	xorl	%r8d, %r8d
	pushq	%rax
	pushq	%r13
	leaq	L_.str.1(%rip), %rax
	pushq	%rax
	pushq	%rbx
	pushq	%r12
	callq	_socket_listen
	addq	$48, %rsp
	testq	%rax, %rax
	js	LBB0_6
## %bb.2:
	movl	-44(%rbp), %edi
	callq	_close
	movl	(%r15), %edi
	movl	(%r14), %esi
	subq	$8, %rsp
	leaq	L_.str.5(%rip), %rax
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	pushq	%rax
	pushq	%r13
	leaq	L_.str.1(%rip), %rax
	pushq	%rax
	pushq	%rbx
	pushq	%r12
	callq	_socket_listen
	addq	$48, %rsp
	testq	%rax, %rax
	js	LBB0_6
## %bb.3:
	movl	-44(%rbp), %edi
	callq	_close
	movl	(%r15), %edi
	movl	(%r14), %esi
	movq	_somaxconn@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	subq	$8, %rsp
	leaq	L_.str.6(%rip), %rax
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	movl	%ecx, %r9d
	pushq	%rax
	pushq	%r13
	leaq	L_.str.1(%rip), %rax
	pushq	%rax
	pushq	%rbx
	leaq	-44(%rbp), %rax
	pushq	%rax
	callq	_socket_listen
	addq	$48, %rsp
	testq	%rax, %rax
	js	LBB0_6
## %bb.4:
	movl	-44(%rbp), %edi
	callq	_close
	movl	(%r15), %edi
	movl	(%r14), %esi
	movl	(%r12), %r9d
	leal	1(%r9), %ecx
	subq	$8, %rsp
	leaq	L_.str.7(%rip), %rax
	xorl	%edx, %edx
	xorl	%r8d, %r8d
                                        ## kill: def $r9d killed $r9d killed $r9
	pushq	%rax
	pushq	%r13
	leaq	L_.str.1(%rip), %rax
	pushq	%rax
	pushq	%rbx
	leaq	-44(%rbp), %rax
	pushq	%rax
	callq	_socket_listen
	addq	$48, %rsp
	testq	%rax, %rax
	js	LBB0_6
## %bb.5:
	movl	-44(%rbp), %edi
	callq	_close
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	$-1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_INET,4,2                    ## @PF_INET
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PF_INET"

L_.str.1:                               ## @.str.1
	.asciz	"SOCK_STREAM"

L_.str.2:                               ## @.str.2
	.asciz	"test_defaults"

L_.str.3:                               ## @.str.3
	.asciz	"default_0_listen_0"

	.comm	_somaxconn,4,2                  ## @somaxconn
L_.str.4:                               ## @.str.4
	.asciz	"default_0_listen_-1"

L_.str.5:                               ## @.str.5
	.asciz	"default_0_listen_1"

L_.str.6:                               ## @.str.6
	.asciz	"default_0_listen_somaxconn"

L_.str.7:                               ## @.str.7
	.asciz	"default_0_listen_somaxconn+1"

	.no_dead_strip	_test_defaults
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_defaults
_test_defaults:                         ; @test_defaults
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x19, _PF_INET@GOTPAGE
Lloh1:
	ldr	x19, [x19, _PF_INET@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x21, _SOCK_STREAM@GOTPAGE
Lloh3:
	ldr	x21, [x21, _SOCK_STREAM@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh4:
	adrp	x8, l_.str.3@PAGE
Lloh5:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh6:
	adrp	x20, l_.str.2@PAGE
Lloh7:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh8:
	adrp	x22, l_.str.1@PAGE
Lloh9:
	add	x22, x22, l_.str.1@PAGEOFF
	stp	x20, x8, [sp, #8]
	str	x22, [sp]
Lloh10:
	adrp	x7, l_.str@PAGE
Lloh11:
	add	x7, x7, l_.str@PAGEOFF
	add	x6, sp, #28
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	bl	_socket_listen
	tbnz	x0, #63, LBB0_6
; %bb.1:
	ldr	w0, [sp, #28]
	bl	_close
	ldr	w0, [x19]
	ldr	w1, [x21]
Lloh12:
	adrp	x23, _somaxconn@GOTPAGE
Lloh13:
	ldr	x23, [x23, _somaxconn@GOTPAGEOFF]
	ldr	w5, [x23]
Lloh14:
	adrp	x8, l_.str.4@PAGE
Lloh15:
	add	x8, x8, l_.str.4@PAGEOFF
	stp	x20, x8, [sp, #8]
	str	x22, [sp]
Lloh16:
	adrp	x7, l_.str@PAGE
Lloh17:
	add	x7, x7, l_.str@PAGEOFF
	add	x6, sp, #28
	mov	w2, #0
	mov	w3, #-1
	mov	w4, #0
	bl	_socket_listen
	tbnz	x0, #63, LBB0_6
; %bb.2:
	ldr	w0, [sp, #28]
	bl	_close
	ldr	w0, [x19]
	ldr	w1, [x21]
Lloh18:
	adrp	x8, l_.str.5@PAGE
Lloh19:
	add	x8, x8, l_.str.5@PAGEOFF
	stp	x20, x8, [sp, #8]
	str	x22, [sp]
Lloh20:
	adrp	x7, l_.str@PAGE
Lloh21:
	add	x7, x7, l_.str@PAGEOFF
	add	x6, sp, #28
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	bl	_socket_listen
	tbnz	x0, #63, LBB0_6
; %bb.3:
	ldr	w0, [sp, #28]
	bl	_close
	ldr	w0, [x19]
	ldr	w1, [x21]
	ldr	w3, [x23]
Lloh22:
	adrp	x8, l_.str.6@PAGE
Lloh23:
	add	x8, x8, l_.str.6@PAGEOFF
	stp	x20, x8, [sp, #8]
	str	x22, [sp]
Lloh24:
	adrp	x7, l_.str@PAGE
Lloh25:
	add	x7, x7, l_.str@PAGEOFF
	add	x6, sp, #28
	mov	w2, #0
	mov	w4, #0
	mov	x5, x3
	bl	_socket_listen
	tbnz	x0, #63, LBB0_6
; %bb.4:
	ldr	w0, [sp, #28]
	bl	_close
	ldr	w0, [x19]
	ldr	w1, [x21]
	ldr	w5, [x23]
	add	w3, w5, #1
Lloh26:
	adrp	x8, l_.str.7@PAGE
Lloh27:
	add	x8, x8, l_.str.7@PAGEOFF
	stp	x20, x8, [sp, #8]
	str	x22, [sp]
Lloh28:
	adrp	x7, l_.str@PAGE
Lloh29:
	add	x7, x7, l_.str@PAGEOFF
	add	x6, sp, #28
	mov	w2, #0
	mov	w4, #0
	bl	_socket_listen
	tbnz	x0, #63, LBB0_6
; %bb.5:
	ldr	w0, [sp, #28]
	bl	_close
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	mov	w0, #-1
	bl	_exit
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_INET,4,2                    ; @PF_INET
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PF_INET"

l_.str.1:                               ; @.str.1
	.asciz	"SOCK_STREAM"

l_.str.2:                               ; @.str.2
	.asciz	"test_defaults"

l_.str.3:                               ; @.str.3
	.asciz	"default_0_listen_0"

	.comm	_somaxconn,4,2                  ; @somaxconn
l_.str.4:                               ; @.str.4
	.asciz	"default_0_listen_-1"

l_.str.5:                               ; @.str.5
	.asciz	"default_0_listen_1"

l_.str.6:                               ; @.str.6
	.asciz	"default_0_listen_somaxconn"

l_.str.7:                               ; @.str.7
	.asciz	"default_0_listen_somaxconn+1"

	.no_dead_strip	_test_defaults
.subsections_via_symbols
