	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bbr_alloc_limit
_bbr_alloc_limit:                       ## @bbr_alloc_limit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	_bbr_tcp_map_split_limit@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	jle	LBB0_3
## %bb.2:
	cmpq	%rax, 8(%r14)
	jge	LBB0_6
LBB0_3:
	movq	%r14, %rdi
	callq	_bbr_alloc
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.4:
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	movq	%rbx, (%rax)
	incq	8(%r14)
	jmp	LBB0_10
LBB0_6:
	movq	_bbr_split_limited@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BBR_STAT_INC
	cmpl	$0, (%r14)
	jne	LBB0_9
## %bb.8:
	movl	$1, (%r14)
	movq	_bbr_alloc_limited_conns@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BBR_STAT_INC
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bbr_tcp_map_split_limit,8,3    ## @bbr_tcp_map_split_limit
	.comm	_bbr_split_limited,4,2          ## @bbr_split_limited
	.comm	_bbr_alloc_limited_conns,4,2    ## @bbr_alloc_limited_conns
	.no_dead_strip	_bbr_alloc_limit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bbr_alloc_limit
_bbr_alloc_limit:                       ; @bbr_alloc_limit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	cbz	x1, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _bbr_tcp_map_split_limit@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bbr_tcp_map_split_limit@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.2:
	ldr	x9, [x19, #8]
	cmp	x9, x8
	b.ge	LBB0_6
LBB0_3:
	mov	x0, x19
	bl	_bbr_alloc
	cbz	x20, LBB0_9
; %bb.4:
	cbz	x0, LBB0_9
; %bb.5:
	str	x20, [x0]
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
	b	LBB0_9
LBB0_6:
Lloh3:
	adrp	x8, _bbr_split_limited@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bbr_split_limited@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_BBR_STAT_INC
	ldr	w8, [x19]
	cbnz	w8, LBB0_8
; %bb.7:
	mov	w8, #1
	str	w8, [x19]
Lloh6:
	adrp	x8, _bbr_alloc_limited_conns@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bbr_alloc_limited_conns@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_BBR_STAT_INC
LBB0_8:
	mov	x0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_bbr_tcp_map_split_limit,8,3    ; @bbr_tcp_map_split_limit
	.comm	_bbr_split_limited,4,2          ; @bbr_split_limited
	.comm	_bbr_alloc_limited_conns,4,2    ; @bbr_alloc_limited_conns
	.no_dead_strip	_bbr_alloc_limit
.subsections_via_symbols
