	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_skb_kill_datagram              ## -- Begin function skb_kill_datagram
	.p2align	4, 0x90
_skb_kill_datagram:                     ## @skb_kill_datagram
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_MSG_PEEK@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movq	%r15, %rdi
	callq	_skb_peek
	cmpq	%r14, %rax
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	___skb_unlink
	movq	%r14, %rdi
	callq	_atomic_dec
	xorl	%ebx, %ebx
LBB0_4:
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	jmp	LBB0_5
LBB0_1:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%r14, %rdi
	callq	_kfree_skb
	movq	%r15, %rdi
	callq	_sk_mem_reclaim_partial
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_PEEK,4,2                   ## @MSG_PEEK
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_skb_kill_datagram              ; -- Begin function skb_kill_datagram
	.p2align	2
_skb_kill_datagram:                     ; @skb_kill_datagram
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MSG_PEEK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_PEEK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _ENOENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_spin_lock_bh
	mov	x0, x19
	bl	_skb_peek
	cmp	x0, x20
	b.eq	LBB0_4
; %bb.2:
	neg	w21, w21
	b	LBB0_5
LBB0_3:
	mov	w21, #0
	b	LBB0_6
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	___skb_unlink
	mov	x0, x20
	bl	_atomic_dec
	mov	w21, #0
LBB0_5:
	mov	x0, x19
	bl	_spin_unlock_bh
LBB0_6:
	mov	x0, x20
	bl	_kfree_skb
	mov	x0, x19
	bl	_sk_mem_reclaim_partial
	mov	x0, x21
	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	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_PEEK,4,2                   ; @MSG_PEEK
	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
