	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dn_maybe_reinit_mbufs
_dn_maybe_reinit_mbufs:                 ## @dn_maybe_reinit_mbufs
	.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
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r12d
	movl	%edi, %ebx
	movq	_dn_hwm_lk@GOTPCREL(%rip), %rdi
	callq	_mtx_lock
	movq	_dn_hwm@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%r14d, %r14d
	cmpl	%ebx, %r15d
	jge	LBB0_2
## %bb.1:
	movl	%ebx, (%rax)
	movl	$1, %r14d
	movl	%ebx, %r15d
LBB0_2:
	movl	4(%rax), %r13d
	cmpl	%r12d, %r13d
	jge	LBB0_4
## %bb.3:
	movl	%r12d, 4(%rax)
	movl	$1, %r14d
	movl	%r12d, %r13d
LBB0_4:
	movl	8(%rax), %r12d
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%ebx, %r12d
	jge	LBB0_7
## %bb.5:
	movl	%ebx, 8(%rax)
	movq	_dn_hwm_lk@GOTPCREL(%rip), %rdi
	callq	_mtx_unlock
	movl	%ebx, %r12d
	jmp	LBB0_6
LBB0_7:
	movq	_dn_hwm_lk@GOTPCREL(%rip), %rdi
	callq	_mtx_unlock
	testl	%r14d, %r14d
	je	LBB0_8
LBB0_6:
	movl	%r15d, %edi
	movl	%r13d, %esi
	movl	%r12d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_debugnet_mbuf_reinit           ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dn_hwm_lk,4,2                  ## @dn_hwm_lk
	.comm	_dn_hwm,12,2                    ## @dn_hwm
	.no_dead_strip	_dn_maybe_reinit_mbufs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dn_maybe_reinit_mbufs
_dn_maybe_reinit_mbufs:                 ; @dn_maybe_reinit_mbufs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x0, _dn_hwm_lk@GOTPAGE
Lloh1:
	ldr	x0, [x0, _dn_hwm_lk@GOTPAGEOFF]
	bl	_mtx_lock
Lloh2:
	adrp	x8, _dn_hwm@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dn_hwm@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, w20
	b.ge	LBB0_2
; %bb.1:
	str	w20, [x8]
	mov	w23, #1
	b	LBB0_3
LBB0_2:
	mov	w23, #0
	mov	x20, x9
LBB0_3:
	ldr	w22, [x8, #4]
	cmp	w22, w21
	b.ge	LBB0_5
; %bb.4:
	str	w21, [x8, #4]
	mov	w23, #1
	mov	x22, x21
LBB0_5:
	ldr	w21, [x8, #8]
	cmp	w21, w19
	b.ge	LBB0_7
; %bb.6:
	str	w19, [x8, #8]
Lloh4:
	adrp	x0, _dn_hwm_lk@GOTPAGE
Lloh5:
	ldr	x0, [x0, _dn_hwm_lk@GOTPAGEOFF]
	bl	_mtx_unlock
	b	LBB0_8
LBB0_7:
Lloh6:
	adrp	x0, _dn_hwm_lk@GOTPAGE
Lloh7:
	ldr	x0, [x0, _dn_hwm_lk@GOTPAGEOFF]
	bl	_mtx_unlock
	mov	x19, x21
	cbz	w23, LBB0_9
LBB0_8:
	mov	x0, x20
	mov	x1, x22
	mov	x2, 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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_debugnet_mbuf_reinit
LBB0_9:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_dn_hwm_lk,4,2                  ; @dn_hwm_lk
	.comm	_dn_hwm,12,2                    ; @dn_hwm
	.no_dead_strip	_dn_maybe_reinit_mbufs
.subsections_via_symbols
