	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_sackhole_alloc
_tcp_sackhole_alloc:                    ## @tcp_sackhole_alloc
	.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	(%rdi), %rax
	movq	_V_tcp_sack_maxholes@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_4
## %bb.1:
	movq	_V_tcp_sack_globalholes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_V_tcp_sack_globalmaxholes@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_4
## %bb.2:
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_V_sack_hole_zone@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_uma_zalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	movq	%r14, 16(%rax)
	movq	%r15, 8(%rax)
	movq	%r14, (%rax)
	incq	(%r12)
	movq	_V_tcp_sack_globalholes@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_atomic_add_int
	jmp	LBB0_6
LBB0_4:
	movq	_tcps_sack_sboverflow@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TCPSTAT_INC
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V_tcp_sack_maxholes,8,3        ## @V_tcp_sack_maxholes
	.comm	_V_tcp_sack_globalholes,8,3     ## @V_tcp_sack_globalholes
	.comm	_V_tcp_sack_globalmaxholes,8,3  ## @V_tcp_sack_globalmaxholes
	.comm	_tcps_sack_sboverflow,4,2       ## @tcps_sack_sboverflow
	.comm	_V_sack_hole_zone,4,2           ## @V_sack_hole_zone
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.no_dead_strip	_tcp_sackhole_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_sackhole_alloc
_tcp_sackhole_alloc:                    ; @tcp_sackhole_alloc
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _V_tcp_sack_maxholes@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V_tcp_sack_maxholes@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _V_tcp_sack_globalholes@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V_tcp_sack_globalholes@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _V_tcp_sack_globalmaxholes@GOTPAGE
Lloh7:
	ldr	x9, [x9, _V_tcp_sack_globalmaxholes@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.2:
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh9:
	adrp	x8, _V_sack_hole_zone@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V_sack_hole_zone@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_uma_zalloc
	mov	x22, x0
	cbz	x0, LBB0_5
; %bb.3:
	stp	x21, x20, [x22, #8]
	str	x20, [x22]
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
Lloh15:
	adrp	x0, _V_tcp_sack_globalholes@GOTPAGE
Lloh16:
	ldr	x0, [x0, _V_tcp_sack_globalholes@GOTPAGEOFF]
	mov	w1, #1
	bl	_atomic_add_int
	b	LBB0_5
LBB0_4:
Lloh17:
	adrp	x8, _tcps_sack_sboverflow@GOTPAGE
Lloh18:
	ldr	x8, [x8, _tcps_sack_sboverflow@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_TCPSTAT_INC
	mov	x22, #0
LBB0_5:
	mov	x0, x22
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_V_tcp_sack_maxholes,8,3        ; @V_tcp_sack_maxholes
	.comm	_V_tcp_sack_globalholes,8,3     ; @V_tcp_sack_globalholes
	.comm	_V_tcp_sack_globalmaxholes,8,3  ; @V_tcp_sack_globalmaxholes
	.comm	_tcps_sack_sboverflow,4,2       ; @tcps_sack_sboverflow
	.comm	_V_sack_hole_zone,4,2           ; @V_sack_hole_zone
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.no_dead_strip	_tcp_sackhole_alloc
.subsections_via_symbols
