	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ql_release_to_lrg_buf_free_list
_ql_release_to_lrg_buf_free_list:       ## @ql_release_to_lrg_buf_free_list
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, 24(%rsi)
	movq	32(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	leaq	32(%r14), %rax
	movq	%rbx, 24(%rcx)
	jmp	LBB0_3
LBB0_1:
	movq	%rbx, 32(%r14)
	leaq	40(%r14), %rax
LBB0_3:
	movq	%rbx, (%rax)
	cmpq	$0, 16(%rbx)
	jne	LBB0_9
## %bb.4:
	movl	20(%r14), %edi
	movq	8(%r14), %rsi
	callq	_netdev_alloc_skb
	movq	%rax, 16(%rbx)
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	incl	16(%r14)
	jmp	LBB0_9
LBB0_6:
	movq	16(%rbx), %rdi
	movq	_QL_HEADER_SPACE@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	callq	_skb_reserve
	movl	24(%r14), %edi
	movq	16(%rbx), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rdx
	subq	(%r12), %rdx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_map_single
	movl	%eax, %r15d
	movl	24(%r14), %edi
	movl	%eax, %esi
	callq	_pci_dma_mapping_error
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	20(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_netdev_err
	movq	16(%rbx), %rdi
	callq	_dev_kfree_skb
	movq	$0, 16(%rbx)
	addq	$16, %r14
	jmp	LBB0_9
LBB0_8:
	movl	%r15d, %edi
	callq	_LS_64BITS
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%rbx)
	movl	%r15d, %edi
	callq	_MS_64BITS
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, (%rbx)
	movq	_mapaddr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_dma_unmap_addr_set
	movq	_maplen@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rdx
	subq	(%r12), %rdx
	movq	%rbx, %rdi
	callq	_dma_unmap_len_set
LBB0_9:
	incl	(%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QL_HEADER_SPACE,8,3            ## @QL_HEADER_SPACE
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCI mapping failed with error: %d\n"

	.comm	_mapaddr,4,2                    ## @mapaddr
	.comm	_maplen,4,2                     ## @maplen
	.no_dead_strip	_ql_release_to_lrg_buf_free_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ql_release_to_lrg_buf_free_list
_ql_release_to_lrg_buf_free_list:       ; @ql_release_to_lrg_buf_free_list
	.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
	mov	x20, x1
	mov	x19, x0
	str	xzr, [x1, #24]
	mov	x8, x0
	ldr	x9, [x8, #32]!
	cbz	x9, LBB0_2
; %bb.1:
	str	x20, [x9, #24]
	b	LBB0_3
LBB0_2:
	str	x20, [x19, #32]
	add	x8, x19, #40
LBB0_3:
	str	x20, [x8]
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_9
; %bb.4:
	ldr	w0, [x19, #20]
	ldr	x1, [x19, #8]
	bl	_netdev_alloc_skb
	str	x0, [x20, #16]
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	b	LBB0_9
LBB0_6:
	ldr	x0, [x20, #16]
Lloh0:
	adrp	x22, _QL_HEADER_SPACE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _QL_HEADER_SPACE@GOTPAGEOFF]
	ldr	x1, [x22]
	bl	_skb_reserve
	ldr	w0, [x19, #24]
	ldr	x8, [x20, #16]
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	sub	x2, x8, x9
Lloh2:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	bl	_pci_map_single
	mov	x21, x0
	ldr	w0, [x19, #24]
	mov	x1, x21
	bl	_pci_dma_mapping_error
	cbz	w0, LBB0_8
; %bb.7:
	mov	x2, x0
	ldr	w0, [x19, #20]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_err
	ldr	x0, [x20, #16]
	bl	_dev_kfree_skb
	str	xzr, [x20, #16]
	add	x19, x19, #16
	b	LBB0_9
LBB0_8:
	mov	x0, x21
	bl	_LS_64BITS
	bl	_cpu_to_le32
	str	x0, [x20, #8]
	mov	x0, x21
	bl	_MS_64BITS
	bl	_cpu_to_le32
	str	x0, [x20]
Lloh7:
	adrp	x8, _mapaddr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _mapaddr@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_dma_unmap_addr_set
Lloh10:
	adrp	x8, _maplen@GOTPAGE
Lloh11:
	ldr	x8, [x8, _maplen@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	sub	x2, x8, x9
	mov	x0, x20
	bl	_dma_unmap_len_set
LBB0_9:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_QL_HEADER_SPACE,8,3            ; @QL_HEADER_SPACE
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCI mapping failed with error: %d\n"

	.comm	_mapaddr,4,2                    ; @mapaddr
	.comm	_maplen,4,2                     ; @maplen
	.no_dead_strip	_ql_release_to_lrg_buf_free_list
.subsections_via_symbols
