	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl_pci_init_one_rxdesc
__rtl_pci_init_one_rxdesc:              ## @_rtl_pci_init_one_rxdesc
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	callq	_rtl_priv
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_rtl_pcipriv
	movl	%eax, %edi
	callq	_rtl_pcidev
	movq	%rax, %r13
	movl	$1, -52(%rbp)
	movq	%rbx, %rdi
	callq	_likely
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movl	(%r13), %edi
	callq	_dev_alloc_skb
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	16(%r13), %r14d
	movq	%rbx, %rdi
	callq	_skb_tail_pointer
	movl	(%r13), %edx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_pci_map_single
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	%eax, -56(%rbp)
	movl	16(%r13), %edi
	movl	%eax, %esi
	callq	_pci_dma_mapping_error
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_8
## %bb.4:
	movq	8(%r13), %rax
	movslq	-44(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	(%rax,%rcx,8), %rax
	movslq	-48(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	%rbx, (%rax,%rcx,8)
	cmpq	$0, 8(%r15)
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	je	LBB0_6
## %bb.5:
	movq	_HW_DESC_RX_PREPARE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	(%rbx), %r8
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	*%rax
	jmp	LBB0_7
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_6:
	movq	_HW_DESC_RXBUFF_ADDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-56(%rbp), %r8
	movq	%r12, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	*%rax
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	_HW_DESC_RXPKT_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movq	%r13, %r8
	callq	*(%rax)
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	_HW_DESC_RXOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-52(%rbp), %r8
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	*(%rax)
LBB0_7:
	movl	$1, %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.comm	_HW_DESC_RX_PREPARE,4,2         ## @HW_DESC_RX_PREPARE
	.comm	_HW_DESC_RXBUFF_ADDR,4,2        ## @HW_DESC_RXBUFF_ADDR
	.comm	_HW_DESC_RXPKT_LEN,4,2          ## @HW_DESC_RXPKT_LEN
	.comm	_HW_DESC_RXOWN,4,2              ## @HW_DESC_RXOWN
	.no_dead_strip	__rtl_pci_init_one_rxdesc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl_pci_init_one_rxdesc
__rtl_pci_init_one_rxdesc:              ; @_rtl_pci_init_one_rxdesc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x24, x4
	mov	x25, x3
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
	bl	_rtl_priv
	mov	x21, x0
	mov	x0, x20
	bl	_rtl_pcipriv
	bl	_rtl_pcidev
	mov	x22, x0
	mov	w8, #1
	str	w8, [sp, #8]
	mov	x0, x23
	bl	_likely
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x22]
	bl	_dev_alloc_skb
	mov	x23, x0
	cbz	x0, LBB0_8
LBB0_2:
	ldr	w26, [x22, #16]
	mov	x0, x23
	bl	_skb_tail_pointer
	mov	x1, x0
	ldr	w2, [x22]
Lloh0:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x26
	bl	_pci_map_single
	mov	x1, x0
	ldr	x8, [x23]
	str	w0, [x8]
	str	w0, [sp, #12]
	ldr	w0, [x22, #16]
	bl	_pci_dma_mapping_error
	cbz	x0, LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_8
LBB0_4:
	ldr	x8, [x22, #8]
	ldr	x8, [x8, w25, sxtw #3]
	str	x23, [x8, w24, sxtw #3]
	ldp	x8, x9, [x21]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x9, LBB0_6
; %bb.5:
Lloh3:
	adrp	x9, _HW_DESC_RX_PREPARE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HW_DESC_RX_PREPARE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x9]
	ldr	x4, [x23]
	b	LBB0_7
LBB0_6:
Lloh6:
	adrp	x9, _HW_DESC_RXBUFF_ADDR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HW_DESC_RXBUFF_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x9]
	add	x4, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	blr	x8
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _HW_DESC_RXPKT_LEN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HW_DESC_RXPKT_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x9]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	mov	x4, x22
	blr	x8
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _HW_DESC_RXOWN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HW_DESC_RXOWN@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x9]
	add	x4, sp, #8
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	blr	x8
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.comm	_HW_DESC_RX_PREPARE,4,2         ; @HW_DESC_RX_PREPARE
	.comm	_HW_DESC_RXBUFF_ADDR,4,2        ; @HW_DESC_RXBUFF_ADDR
	.comm	_HW_DESC_RXPKT_LEN,4,2          ; @HW_DESC_RXPKT_LEN
	.comm	_HW_DESC_RXOWN,4,2              ; @HW_DESC_RXOWN
	.no_dead_strip	__rtl_pci_init_one_rxdesc
.subsections_via_symbols
