	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_drop_skb
_update_drop_skb:                       ## @update_drop_skb
	.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
	movl	%edi, %r14d
	movq	_drop_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	movq	_drop_max@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	cmpl	%r14d, (%r12)
	jge	LBB0_3
## %bb.1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_skb_put
	movq	_drop_skb@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_kfree_skb
	movq	%r15, (%rbx)
	movl	%r14d, (%r12)
	xorl	%ebx, %ebx
LBB0_3:
	movq	_drop_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_drop_lock,4,2                  ## @drop_lock
	.comm	_drop_max,4,2                   ## @drop_max
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_drop_skb,8,3                   ## @drop_skb
	.no_dead_strip	_update_drop_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_drop_skb
_update_drop_skb:                       ; @update_drop_skb
	.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, x0
Lloh0:
	adrp	x0, _drop_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _drop_lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
Lloh2:
	adrp	x22, _drop_max@GOTPAGE
Lloh3:
	ldr	x22, [x22, _drop_max@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, w19
	b.ge	LBB0_3
; %bb.1:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_dev_alloc_skb
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
	mov	x1, x19
	bl	_skb_put
Lloh7:
	adrp	x23, _drop_skb@GOTPAGE
Lloh8:
	ldr	x23, [x23, _drop_skb@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_kfree_skb
	mov	w20, #0
	str	x21, [x23]
	str	w19, [x22]
	b	LBB0_5
LBB0_3:
	mov	w20, #0
	b	LBB0_5
LBB0_4:
	neg	w20, w20
LBB0_5:
Lloh9:
	adrp	x0, _drop_lock@GOTPAGE
Lloh10:
	ldr	x0, [x0, _drop_lock@GOTPAGEOFF]
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_drop_lock,4,2                  ; @drop_lock
	.comm	_drop_max,4,2                   ; @drop_max
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_drop_skb,8,3                   ; @drop_skb
	.no_dead_strip	_update_drop_skb
.subsections_via_symbols
