	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_chain_free_pbl
_qed_chain_free_pbl:                    ## @qed_chain_free_pbl
	.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	8(%rsi), %r13
	testq	%r13, %r13
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r14
	movq	16(%rsi), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.2:
	movq	%rdi, %r15
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %r12
	testq	%r12, %r12
	je	LBB0_6
## %bb.3:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%r14,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15), %rdi
	movq	_QED_CHAIN_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	(%rbx), %ecx
	callq	_dma_free_coherent
	movq	_QED_CHAIN_PBL_ENTRY_SIZE@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	incq	%r14
	cmpq	%r14, %r12
	jne	LBB0_4
LBB0_6:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	cmpl	$0, 32(%r14)
	jne	LBB0_8
## %bb.7:
	movq	_QED_CHAIN_PBL_ENTRY_SIZE@GOTPCREL(%rip), %rax
	imulq	(%rax), %r12
	movq	(%r15), %rdi
	movq	16(%r14), %rdx
	movl	24(%r14), %ecx
	movq	%r12, %rsi
	callq	_dma_free_coherent
LBB0_8:
	movq	8(%r14), %rdi
	callq	_vfree
	movq	$0, 8(%r14)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_CHAIN_PAGE_SIZE,8,3        ## @QED_CHAIN_PAGE_SIZE
	.comm	_QED_CHAIN_PBL_ENTRY_SIZE,8,3   ## @QED_CHAIN_PBL_ENTRY_SIZE
	.no_dead_strip	_qed_chain_free_pbl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_chain_free_pbl
_qed_chain_free_pbl:                    ; @qed_chain_free_pbl
	.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	x21, [x1, #8]
	cbz	x21, LBB0_9
; %bb.1:
	mov	x19, x1
	ldr	x23, [x1, #16]
	cbz	x23, LBB0_8
; %bb.2:
	mov	x20, x0
	ldr	x22, [x19]
Lloh0:
	adrp	x24, _QED_CHAIN_PBL_ENTRY_SIZE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _QED_CHAIN_PBL_ENTRY_SIZE@GOTPAGEOFF]
	cbz	x22, LBB0_6
; %bb.3:
Lloh2:
	adrp	x25, _QED_CHAIN_PAGE_SIZE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _QED_CHAIN_PAGE_SIZE@GOTPAGEOFF]
	mov	x26, x22
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x2, [x21]
	cbz	x2, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x20]
	ldr	x1, [x25]
	ldr	w3, [x23]
	bl	_dma_free_coherent
	ldr	x8, [x24]
	add	x23, x23, x8
	add	x21, x21, #8
	subs	x26, x26, #1
	b.ne	LBB0_4
LBB0_6:
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_8
; %bb.7:
	ldr	x8, [x24]
	mul	x1, x8, x22
	ldr	x0, [x20]
	ldr	x2, [x19, #16]
	ldr	w3, [x19, #24]
	bl	_dma_free_coherent
LBB0_8:
	ldr	x0, [x19, #8]
	bl	_vfree
	str	xzr, [x19, #8]
LBB0_9:
	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	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_CHAIN_PAGE_SIZE,8,3        ; @QED_CHAIN_PAGE_SIZE
	.comm	_QED_CHAIN_PBL_ENTRY_SIZE,8,3   ; @QED_CHAIN_PBL_ENTRY_SIZE
	.no_dead_strip	_qed_chain_free_pbl
.subsections_via_symbols
