	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_skb_tx
_alloc_skb_tx:                          ## @alloc_skb_tx
	.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	_TX_INBAND_HEADER_LENGTH@GOTPCREL(%rip), %r14
	movq	_MAX_TX_PACKET_ALIGN_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	(%r14), %eax
	movq	_MAX_TX_PACKET_PADDING_BYTES@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	addl	%eax, %edi
	movq	_DATA_BUFFER_ALIGNMENT@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movl	%eax, %ecx
	negl	%ecx
	andl	%ecx, %edi
	addl	%eax, %edi
	callq	_dev_alloc_skb
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r15), %eax
	decl	%eax
	movl	(%rbx), %esi
	addl	%eax, %esi
	notl	%esi
	andl	%eax, %esi
	addq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_skb_reserve
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_INBAND_HEADER_LENGTH,8,3    ## @TX_INBAND_HEADER_LENGTH
	.comm	_MAX_TX_PACKET_ALIGN_BYTES,8,3  ## @MAX_TX_PACKET_ALIGN_BYTES
	.comm	_MAX_TX_PACKET_PADDING_BYTES,8,3 ## @MAX_TX_PACKET_PADDING_BYTES
	.comm	_DATA_BUFFER_ALIGNMENT,4,2      ## @DATA_BUFFER_ALIGNMENT
	.no_dead_strip	_alloc_skb_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_skb_tx
_alloc_skb_tx:                          ; @alloc_skb_tx
	.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
Lloh0:
	adrp	x20, _TX_INBAND_HEADER_LENGTH@GOTPAGE
Lloh1:
	ldr	x20, [x20, _TX_INBAND_HEADER_LENGTH@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _MAX_TX_PACKET_ALIGN_BYTES@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MAX_TX_PACKET_ALIGN_BYTES@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _MAX_TX_PACKET_PADDING_BYTES@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MAX_TX_PACKET_PADDING_BYTES@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	add	w8, w9, w8
	add	w8, w8, w10
	add	w8, w8, w0
Lloh8:
	adrp	x21, _DATA_BUFFER_ALIGNMENT@GOTPAGE
Lloh9:
	ldr	x21, [x21, _DATA_BUFFER_ALIGNMENT@GOTPAGEOFF]
	ldr	w9, [x21]
	neg	w10, w9
	and	w8, w8, w10
	add	w0, w8, w9
	bl	_dev_alloc_skb
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	ldr	w9, [x21]
	sub	w9, w9, #1
	add	w8, w9, w8
	bic	w8, w9, w8
	ldr	x9, [x20]
	add	x1, x9, x8
	mov	x0, x19
	bl	_skb_reserve
LBB0_2:
	mov	x0, x19
	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 AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_INBAND_HEADER_LENGTH,8,3    ; @TX_INBAND_HEADER_LENGTH
	.comm	_MAX_TX_PACKET_ALIGN_BYTES,8,3  ; @MAX_TX_PACKET_ALIGN_BYTES
	.comm	_MAX_TX_PACKET_PADDING_BYTES,8,3 ; @MAX_TX_PACKET_PADDING_BYTES
	.comm	_DATA_BUFFER_ALIGNMENT,4,2      ; @DATA_BUFFER_ALIGNMENT
	.no_dead_strip	_alloc_skb_tx
.subsections_via_symbols
