	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet_csk_accept                ## -- Begin function inet_csk_accept
	.p2align	4, 0x90
_inet_csk_accept:                       ## @inet_csk_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_inet_csk
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_lock_sock
	movq	(%rbx), %rax
	movq	_TCP_LISTEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.4:
	movq	%r15, %rdi
	callq	_reqsk_queue_empty
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	_O_NONBLOCK@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_sock_rcvtimeo
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_inet_csk_wait_for_connect
	testl	%eax, %eax
	jne	LBB0_3
LBB0_8:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_reqsk_queue_get_child
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	_TCP_SYN_RECV@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_WARN_ON
	jmp	LBB0_9
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_6:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	movl	%eax, (%r14)
	xorl	%r14d, %r14d
LBB0_9:
	movq	%rbx, %rdi
	callq	_release_sock
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TCP_LISTEN,8,3                 ## @TCP_LISTEN
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_TCP_SYN_RECV,8,3               ## @TCP_SYN_RECV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet_csk_accept                ; -- Begin function inet_csk_accept
	.p2align	2
_inet_csk_accept:                       ; @inet_csk_accept
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
	bl	_inet_csk
	mov	x21, x0
	mov	x0, x19
	bl	_lock_sock
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _TCP_LISTEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TCP_LISTEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x0, x21
	bl	_reqsk_queue_empty
	cbz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _O_NONBLOCK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_NONBLOCK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w1, w8, w22
	mov	x0, x19
	bl	_sock_rcvtimeo
	cbz	x0, LBB0_6
; %bb.3:
	mov	x1, x0
	mov	x0, x19
	bl	_inet_csk_wait_for_connect
	cbnz	w0, LBB0_8
LBB0_4:
	mov	x0, x21
	mov	x1, x19
	bl	_reqsk_queue_get_child
	mov	x21, x0
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _TCP_SYN_RECV@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TCP_SYN_RECV@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_WARN_ON
	b	LBB0_9
LBB0_5:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	mov	x21, #0
	str	w0, [x20]
LBB0_9:
	mov	x0, x19
	bl	_release_sock
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_TCP_LISTEN,8,3                 ; @TCP_LISTEN
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_TCP_SYN_RECV,8,3               ; @TCP_SYN_RECV
.subsections_via_symbols
