	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bbr_handoff_ok
_bbr_handoff_ok:                        ## @bbr_handoff_ok
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_TCPS_CLOSED@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_8
## %bb.1:
	movq	_TCPS_LISTEN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_8
## %bb.2:
	movq	_TCPS_SYN_SENT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_4
## %bb.3:
	movq	_TCPS_SYN_RECEIVED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_4
## %bb.5:
	movq	_TF_SACK_PERMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_bbr_sack_not_required@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	cmpq	$0, (%rax)
	movl	$0, %eax
	jne	LBB0_7
## %bb.6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	testl	%ecx, 8(%rdi)
	cmovnel	%edx, %eax
LBB0_8:
	popq	%rbp
	retq
LBB0_4:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCPS_CLOSED,8,3                ## @TCPS_CLOSED
	.comm	_TCPS_LISTEN,8,3                ## @TCPS_LISTEN
	.comm	_TCPS_SYN_SENT,8,3              ## @TCPS_SYN_SENT
	.comm	_TCPS_SYN_RECEIVED,8,3          ## @TCPS_SYN_RECEIVED
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_TF_SACK_PERMIT,4,2             ## @TF_SACK_PERMIT
	.comm	_bbr_sack_not_required,8,3      ## @bbr_sack_not_required
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_bbr_handoff_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bbr_handoff_ok
_bbr_handoff_ok:                        ; @bbr_handoff_ok
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _TCPS_CLOSED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TCPS_CLOSED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _TCPS_LISTEN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TCPS_LISTEN@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
Lloh6:
	adrp	x9, _TCPS_SYN_SENT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TCPS_SYN_SENT@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _TCPS_SYN_RECEIVED@GOTPAGE
Lloh10:
	ldr	x10, [x10, _TCPS_SYN_RECEIVED@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh15:
	adrp	x8, _TF_SACK_PERMIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TF_SACK_PERMIT@GOTPAGEOFF]
	ldr	w9, [x0, #8]
Lloh17:
	ldr	w8, [x8]
	and	w8, w8, w9
Lloh18:
	adrp	x9, _bbr_sack_not_required@GOTPAGE
Lloh19:
	ldr	x9, [x9, _bbr_sack_not_required@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, #0
	ccmp	w8, #0, #0, eq
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	csel	w0, wzr, w8, ne
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TCPS_CLOSED,8,3                ; @TCPS_CLOSED
	.comm	_TCPS_LISTEN,8,3                ; @TCPS_LISTEN
	.comm	_TCPS_SYN_SENT,8,3              ; @TCPS_SYN_SENT
	.comm	_TCPS_SYN_RECEIVED,8,3          ; @TCPS_SYN_RECEIVED
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_TF_SACK_PERMIT,4,2             ; @TF_SACK_PERMIT
	.comm	_bbr_sack_not_required,8,3      ; @bbr_sack_not_required
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_bbr_handoff_ok
.subsections_via_symbols
