	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function packet_alloc_skb
_packet_alloc_skb:                      ## @packet_alloc_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
	movq	%rcx, %r15
	movq	%rdx, %r14
	leaq	(%rcx,%rsi), %rax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	16(%rbp), %rax
	movq	%r15, %rbx
	cmovaeq	%r8, %rbx
	testq	%r8, %r8
	cmoveq	%r15, %rbx
	addq	%rbx, %rsi
	subq	%rbx, %r15
	movq	%r15, %rdx
	movl	%r9d, %ecx
	movq	%rax, %r8
	callq	_sock_alloc_send_pskb
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_skb_reserve
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_skb_put
	movq	%r15, (%r12)
	addq	%r15, 8(%r12)
LBB0_2:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.no_dead_strip	_packet_alloc_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function packet_alloc_skb
_packet_alloc_skb:                      ; @packet_alloc_skb
	.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	x19, x2
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x9, x3, x1
	cmp	x9, x8
	ccmp	x4, #0, #4, hs
	csel	x21, x4, x3, ne
	add	x1, x21, x1
	sub	x20, x3, x21
	mov	x2, x20
	mov	x3, x5
	mov	x4, x6
	bl	_sock_alloc_send_pskb
	mov	x22, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x19
	bl	_skb_reserve
	mov	x0, x22
	mov	x1, x21
	bl	_skb_put
	ldr	x8, [x22, #8]
	add	x8, x8, x20
	stp	x20, x8, [x22]
LBB0_2:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.no_dead_strip	_packet_alloc_skb
.subsections_via_symbols
