	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_rx_bufs
_init_rx_bufs:                          ## @init_rx_bufs
	.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	%esi, %r14d
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_I596_NULL@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, 8(%r15)
	xorl	%ebx, %ebx
	testl	%r14d, %r14d
	jle	LBB0_8
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 24(%rax)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rcx
	movq	%rcx, 16(%rax)
	movq	%rax, %rdi
	callq	_va_to_pa
	movq	%rax, 8(%r15)
	movq	16(%r15), %rcx
	movq	%rax, 16(%rcx)
	incl	%ebx
	cmpl	%ebx, %r14d
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movl	$56, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 48(%rax)
	movq	(%r12), %rcx
	movq	%rcx, 40(%rax)
	movq	$0, 32(%rax)
	movl	$1532, (%rax)                   ## imm = 0x5FC
	testl	%ebx, %ebx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_CMD_EOL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rax)
	movq	%rax, 16(%r15)
	jmp	LBB0_6
LBB0_7:
	movl	%r14d, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I596_NULL,8,3                  ## @I596_NULL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_CMD_EOL,8,3                    ## @CMD_EOL
	.comm	_RBD_EL,8,3                     ## @RBD_EL
	.comm	_RX_RBD_SIZE,4,2                ## @RX_RBD_SIZE
	.comm	_RX_SKBSIZE,8,3                 ## @RX_SKBSIZE
	.comm	_rbd,8,3                        ## @rbd
	.no_dead_strip	_init_rx_bufs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_rx_bufs
_init_rx_bufs:                          ; @init_rx_bufs
	.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
	mov	x19, x1
	bl	_netdev_priv
Lloh0:
	adrp	x22, _I596_NULL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _I596_NULL@GOTPAGEOFF]
	ldr	x8, [x22]
	str	x8, [x0, #8]
	cmp	w19, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x21, x0
	mov	w20, #0
Lloh2:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	mov	w24, #1532
Lloh4:
	adrp	x25, _CMD_EOL@GOTPAGE
Lloh5:
	ldr	x25, [x25, _CMD_EOL@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x0, #24]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
	str	x8, [x0, #16]
	bl	_va_to_pa
	str	x0, [x21, #8]
	ldr	x8, [x21, #16]
	str	x0, [x8, #16]
	add	w20, w20, #1
	cmp	w19, w20
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	mov	w0, #56
	bl	_kmalloc
	cbz	x0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	stp	x8, xzr, [x0, #40]
	str	xzr, [x0, #32]
	str	w24, [x0]
	cbnz	w20, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x25]
	str	x8, [x0, #24]
	str	x0, [x21, #16]
	b	LBB0_3
LBB0_7:
	mov	w20, #0
	b	LBB0_9
LBB0_8:
	mov	x20, x19
LBB0_9:
	mov	x0, x20
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_I596_NULL,8,3                  ; @I596_NULL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_CMD_EOL,8,3                    ; @CMD_EOL
	.comm	_RBD_EL,8,3                     ; @RBD_EL
	.comm	_RX_RBD_SIZE,4,2                ; @RX_RBD_SIZE
	.comm	_RX_SKBSIZE,8,3                 ; @RX_SKBSIZE
	.comm	_rbd,8,3                        ; @rbd
	.no_dead_strip	_init_rx_bufs
.subsections_via_symbols
