	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iova_magazine_pop
_iova_magazine_pop:                     ## @iova_magazine_pop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_iova_magazine_empty
	movl	%eax, %edi
	callq	_BUG_ON
	movslq	(%r14), %rdx
	movq	8(%r14), %rcx
	movq	%rdx, %rsi
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rcx,%rsi,8), %rax
	cmpq	%rbx, %rax
	jbe	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	decq	%rsi
	jne	LBB0_1
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	leal	-1(%rdx), %edi
	movl	%edi, (%r14)
	movq	-8(%rcx,%rdx,8), %rdx
	movq	%rdx, -8(%rcx,%rsi,8)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_iova_magazine_pop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iova_magazine_pop
_iova_magazine_pop:                     ; @iova_magazine_pop
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_iova_magazine_empty
	bl	_BUG_ON
	ldrsw	x9, [x19]
	ldr	x8, [x19, #8]
	sub	x11, x8, #8
	mov	x10, x9
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x11, x10, lsl #3]
	cmp	x0, x20
	b.ls	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x10, x10, #1
	cbnz	x10, LBB0_1
; %bb.3:
	mov	x0, #0
	b	LBB0_5
LBB0_4:
	add	x10, x8, x10, lsl #3
	sub	w9, w9, #1
	str	w9, [x19]
	ldr	x8, [x8, w9, sxtw #3]
	stur	x8, [x10, #-8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_iova_magazine_pop
.subsections_via_symbols
