	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_accept                         ## -- Begin function accept
	.p2align	4, 0x90
_accept:                                ## @accept
	.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	%rdx, %r14
	movq	%rsi, %r12
	movl	%edi, %ebx
	leaq	-44(%rbp), %rsi
	callq	_fd_get
	movq	_fd_rsocket@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	callq	_fd_open
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_12
## %bb.2:
	movl	-44(%rbp), %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_raccept
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_11
## %bb.3:
	movq	(%r13), %rdx
	movq	_fd_ready@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:
	movl	%ebx, %edi
	callq	_fd_gets
	movq	_fd_fork_listen@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.5:
	xorl	%eax, %eax
	callq	_fd_open
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_12
## %bb.6:
	movq	_real@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	*(%rax)
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_11
## %bb.7:
	movq	_fd_normal@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_fd_fork_passive@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %ecx
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_fd_store
LBB0_12:
	movl	%r15d, %ebx
	jmp	LBB0_13
LBB0_9:
	movq	_real@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	*(%rax)
	movl	%eax, %ebx
	jmp	LBB0_13
LBB0_11:
	leaq	-44(%rbp), %rsi
	movl	%r15d, %edi
	callq	_fd_close
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fd_rsocket,8,3                 ## @fd_rsocket
	.comm	_fd_ready,4,2                   ## @fd_ready
	.comm	_fd_fork_listen,8,3             ## @fd_fork_listen
	.comm	_real,8,3                       ## @real
	.comm	_fd_normal,8,3                  ## @fd_normal
	.comm	_fd_fork_passive,4,2            ## @fd_fork_passive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_accept                         ; -- Begin function accept
	.p2align	2
_accept:                                ; @accept
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x1, sp, #12
	bl	_fd_get
Lloh0:
	adrp	x22, _fd_rsocket@GOTPAGE
Lloh1:
	ldr	x22, [x22, _fd_rsocket@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	bl	_fd_open
	mov	x21, x0
	tbnz	w0, #31, LBB0_9
; %bb.2:
	ldr	w0, [sp, #12]
	mov	x1, x20
	mov	x2, x19
	bl	_raccept
	mov	x19, x0
	tbnz	w0, #31, LBB0_11
; %bb.3:
	ldr	x2, [x22]
Lloh2:
	adrp	x8, _fd_ready@GOTPAGE
Lloh3:
	ldr	x8, [x8, _fd_ready@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	mov	x0, x21
	bl	_fd_gets
Lloh4:
	adrp	x8, _fd_fork_listen@GOTPAGE
Lloh5:
	ldr	x8, [x8, _fd_fork_listen@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.5:
	bl	_fd_open
	mov	x21, x0
	tbnz	w0, #31, LBB0_9
; %bb.6:
Lloh7:
	adrp	x8, _real@GOTPAGE
Lloh8:
	ldr	x8, [x8, _real@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	w0, [sp, #12]
	mov	x1, x20
	mov	x2, x19
	blr	x8
	mov	x19, x0
	tbnz	w0, #31, LBB0_11
; %bb.7:
Lloh10:
	adrp	x8, _fd_normal@GOTPAGE
Lloh11:
	ldr	x8, [x8, _fd_normal@GOTPAGEOFF]
Lloh12:
	ldr	x2, [x8]
Lloh13:
	adrp	x8, _fd_fork_passive@GOTPAGE
Lloh14:
	ldr	x8, [x8, _fd_fork_passive@GOTPAGEOFF]
LBB0_8:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x19
	bl	_fd_store
LBB0_9:
	mov	x19, x21
	b	LBB0_12
LBB0_10:
Lloh15:
	adrp	x8, _real@GOTPAGE
Lloh16:
	ldr	x8, [x8, _real@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	w0, [sp, #12]
	mov	x1, x20
	mov	x2, x19
	blr	x8
	mov	x19, x0
	b	LBB0_12
LBB0_11:
	add	x1, sp, #12
	mov	x0, x21
	bl	_fd_close
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_fd_rsocket,8,3                 ; @fd_rsocket
	.comm	_fd_ready,4,2                   ; @fd_ready
	.comm	_fd_fork_listen,8,3             ; @fd_fork_listen
	.comm	_real,8,3                       ; @real
	.comm	_fd_normal,8,3                  ; @fd_normal
	.comm	_fd_fork_passive,4,2            ; @fd_fork_passive
.subsections_via_symbols
