	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pch_gbe_alloc_tx_buffers
_pch_gbe_alloc_tx_buffers:              ## @pch_gbe_alloc_tx_buffers
	.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
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rsi)
	je	LBB0_3
## %bb.1:
	movq	%rsi, %r12
	movq	_PCH_GBE_DMA_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	4(%rax), %r15d
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %rax
	addl	(%rax), %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_netdev_alloc_skb
	movq	%rax, %r13
	movq	_PCH_GBE_DMA_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_skb_reserve
	movq	%r13, (%r14,%rbx,8)
	movl	(%r12), %edi
	movq	8(%r12), %rsi
	movl	%ebx, %edx
	callq	_PCH_GBE_TX_DESC
	movq	_DSC_INIT16@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	incq	%rbx
	movl	(%r12), %eax
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCH_GBE_DMA_ALIGN,4,2          ## @PCH_GBE_DMA_ALIGN
	.comm	_NET_IP_ALIGN,4,2               ## @NET_IP_ALIGN
	.comm	_DSC_INIT16,4,2                 ## @DSC_INIT16
	.no_dead_strip	_pch_gbe_alloc_tx_buffers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pch_gbe_alloc_tx_buffers
_pch_gbe_alloc_tx_buffers:              ; @pch_gbe_alloc_tx_buffers
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	w8, [x1]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x21, #0
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x24, _PCH_GBE_DMA_ALIGN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PCH_GBE_DMA_ALIGN@GOTPAGEOFF]
Lloh2:
	adrp	x9, _NET_IP_ALIGN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NET_IP_ALIGN@GOTPAGEOFF]
	ldr	w10, [x24]
Lloh4:
	ldr	w9, [x9]
	add	w8, w10, w8
	add	w22, w8, w9
Lloh5:
	adrp	x25, _DSC_INIT16@GOTPAGE
Lloh6:
	ldr	x25, [x25, _DSC_INIT16@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x19, #8]
	ldr	w0, [x20]
	mov	x1, x22
	bl	_netdev_alloc_skb
	mov	x23, x0
	ldr	w1, [x24]
	bl	_skb_reserve
	str	x23, [x26, x21, lsl #3]
	ldp	x0, x1, [x19]
	mov	x2, x21
	bl	_PCH_GBE_TX_DESC
	ldr	w8, [x25]
	str	w8, [x0]
	add	x21, x21, #1
	ldr	w8, [x19]
	cmp	x21, x8
	b.lo	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCH_GBE_DMA_ALIGN,4,2          ; @PCH_GBE_DMA_ALIGN
	.comm	_NET_IP_ALIGN,4,2               ; @NET_IP_ALIGN
	.comm	_DSC_INIT16,4,2                 ; @DSC_INIT16
	.no_dead_strip	_pch_gbe_alloc_tx_buffers
.subsections_via_symbols
