	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function de4x5_alloc_rx_buff
_de4x5_alloc_rx_buff:                   ## @de4x5_alloc_rx_buff
	.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
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r12
	movq	_IEEE802_3_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_DE4X5_ALIGN@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	leal	(%rax,%rcx), %esi
	addl	$2, %esi
	movq	%rbx, %rdi
	callq	_netdev_alloc_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movl	(%rax), %edi
	callq	_virt_to_bus
                                        ## kill: def $eax killed $eax def $rax
	movl	(%r14), %ebx
	leal	(%rbx,%rax), %ecx
	notl	%ebx
	andl	%ecx, %ebx
	movl	%ebx, %esi
	subl	%eax, %esi
	movq	%r13, %rdi
	callq	_skb_reserve
	movl	%ebx, %edi
	callq	_cpu_to_le32
	movq	32(%r12), %rcx
	movslq	%r15d, %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	24(%r12), %rax
	movq	(%rax,%rdx,8), %rbx
	movq	%r13, (%rax,%rdx,8)
	cmpl	$2, %ebx
	jl	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_skb_put
	jmp	LBB0_4
LBB0_1:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE802_3_SZ,4,2               ## @IEEE802_3_SZ
	.comm	_DE4X5_ALIGN,4,2                ## @DE4X5_ALIGN
	.comm	_OPEN,8,3                       ## @OPEN
	.comm	_RX_BUFF_SZ,2,1                 ## @RX_BUFF_SZ
	.no_dead_strip	_de4x5_alloc_rx_buff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function de4x5_alloc_rx_buff
_de4x5_alloc_rx_buff:                   ; @de4x5_alloc_rx_buff
	.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, x2
	mov	x20, x1
	mov	x22, x0
	bl	_netdev_priv
	mov	x21, x0
Lloh0:
	adrp	x8, _IEEE802_3_SZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE802_3_SZ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x23, _DE4X5_ALIGN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _DE4X5_ALIGN@GOTPAGEOFF]
	ldr	w9, [x23]
	add	w8, w8, w9
	add	w1, w8, #2
	mov	x0, x22
	bl	_netdev_alloc_skb
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
	ldr	w0, [x0]
	bl	_virt_to_bus
	ldr	w8, [x23]
	add	w9, w8, w0
	bic	w23, w9, w8
	sub	w1, w23, w0
	mov	x0, x22
	bl	_skb_reserve
	mov	x0, x23
	bl	_cpu_to_le32
	ldp	x9, x8, [x21, #24]
	str	w0, [x8, w20, sxtw #2]
	sbfiz	x8, x20, #3, #32
	ldr	x20, [x9, x8]
	str	x22, [x9, x8]
	cmp	w20, #2
	b.lt	LBB0_4
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_skb_put
	b	LBB0_4
LBB0_3:
	mov	x20, #0
LBB0_4:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE802_3_SZ,4,2               ; @IEEE802_3_SZ
	.comm	_DE4X5_ALIGN,4,2                ; @DE4X5_ALIGN
	.comm	_OPEN,8,3                       ; @OPEN
	.comm	_RX_BUFF_SZ,2,1                 ; @RX_BUFF_SZ
	.no_dead_strip	_de4x5_alloc_rx_buff
.subsections_via_symbols
