	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wait_connection
_wait_connection:                       ## @wait_connection
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	$4, -4(%rbp)
	movq	_http_sock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_source@GOTPCREL(%rip), %rsi
	leaq	-4(%rbp), %rdx
	callq	_accept
	movq	_con_sock@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jle	LBB0_1
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_1:
	callq	_wait_connection.cold.1
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function wait_connection.cold.1
_wait_connection.cold.1:                ## @wait_connection.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_http_sock,4,2                  ## @http_sock
	.comm	_source,4,2                     ## @source
	.comm	_con_sock,8,3                   ## @con_sock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"accept"

	.no_dead_strip	_wait_connection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wait_connection
_wait_connection:                       ; @wait_connection
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w8, #4
	stur	w8, [x29, #-4]
Lloh0:
	adrp	x8, _http_sock@GOTPAGE
Lloh1:
	ldr	x8, [x8, _http_sock@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, _source@GOTPAGE
Lloh4:
	ldr	x1, [x1, _source@GOTPAGEOFF]
	sub	x2, x29, #4
	bl	_accept
Lloh5:
	adrp	x8, _con_sock@GOTPAGE
Lloh6:
	ldr	x8, [x8, _con_sock@GOTPAGEOFF]
Lloh7:
	str	x0, [x8]
	cmp	x0, #0
	b.le	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_2:
	bl	_wait_connection.cold.1
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function wait_connection.cold.1
_wait_connection.cold.1:                ; @wait_connection.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_http_sock,4,2                  ; @http_sock
	.comm	_source,4,2                     ; @source
	.comm	_con_sock,8,3                   ; @con_sock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"accept"

	.no_dead_strip	_wait_connection
.subsections_via_symbols
