	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_disk_part_iter_next            ## -- Begin function disk_part_iter_next
	.p2align	4, 0x90
_disk_part_iter_next:                   ## @disk_part_iter_next
	.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	%rdi, %r15
	movq	8(%rdi), %rdi
	callq	_disk_put_part
	movq	$0, 8(%r15)
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	16(%r15), %rax
	movl	(%rax), %edi
	callq	_rcu_dereference
	movq	%rax, %r14
	movl	(%r15), %eax
	movq	_DISK_PITER_REVERSE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_DISK_PITER_INCL_PART0@GOTPCREL(%rip), %rcx
	movq	_DISK_PITER_INCL_EMPTY_PART0@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	andl	%eax, %edx
	negl	%edx
	sbbl	%r12d, %r12d
	movl	$-1, %r13d
	jmp	LBB0_3
LBB0_2:
	movl	(%r14), %r12d
	movl	$1, %r13d
LBB0_3:
	movl	4(%r15), %eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r15), %eax
	addl	%r13d, %eax
	movl	%eax, 4(%r15)
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r12d, %eax
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r14), %rcx
	cltq
	movl	(%rcx,%rax,4), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	cmpl	$0, (%rax)
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r15), %eax
	movq	_DISK_PITER_INCL_EMPTY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_DISK_PITER_INCL_EMPTY_PART0@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, 4(%r15)
	jne	LBB0_12
LBB0_10:
	movq	%rbx, %rdi
	callq	_part_to_dev
	movl	%eax, %edi
	callq	_get_device
	movq	%rbx, 8(%r15)
	addl	%r13d, 4(%r15)
LBB0_11:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	8(%r15), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DISK_PITER_REVERSE,4,2         ## @DISK_PITER_REVERSE
	.comm	_DISK_PITER_INCL_PART0,4,2      ## @DISK_PITER_INCL_PART0
	.comm	_DISK_PITER_INCL_EMPTY_PART0,4,2 ## @DISK_PITER_INCL_EMPTY_PART0
	.comm	_DISK_PITER_INCL_EMPTY,4,2      ## @DISK_PITER_INCL_EMPTY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_disk_part_iter_next            ; -- Begin function disk_part_iter_next
	.p2align	2
_disk_part_iter_next:                   ; @disk_part_iter_next
	.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, x0
	ldr	x0, [x0, #8]
	bl	_disk_put_part
	str	xzr, [x19, #8]
	bl	_rcu_read_lock
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_rcu_dereference
	mov	x20, x0
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _DISK_PITER_REVERSE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DISK_PITER_REVERSE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x22, _DISK_PITER_INCL_EMPTY_PART0@GOTPAGE
Lloh4:
	ldr	x22, [x22, _DISK_PITER_INCL_EMPTY_PART0@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh5:
	adrp	x9, _DISK_PITER_INCL_PART0@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DISK_PITER_INCL_PART0@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	ldr	w10, [x22]
	orr	w9, w10, w9
	tst	w9, w8
	csetm	w24, ne
	mov	w23, #-1
	b	LBB0_3
LBB0_2:
	ldr	w24, [x20]
	mov	w23, #1
LBB0_3:
	ldr	w8, [x19, #4]
	cmp	w8, w24
	b.eq	LBB0_12
; %bb.4:
Lloh8:
	adrp	x25, _DISK_PITER_INCL_EMPTY@GOTPAGE
Lloh9:
	ldr	x25, [x25, _DISK_PITER_INCL_EMPTY@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #4]
	add	w8, w8, w23
	cmp	w8, w24
	str	w8, [x19, #4]
	b.eq	LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	ldr	w0, [x9, w8, sxtw #2]
	bl	_rcu_dereference
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x0
	ldr	w8, [x0]
	cbnz	w8, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19]
	ldr	w9, [x25]
	tst	w9, w8
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_5
LBB0_11:
	mov	x0, x21
	bl	_part_to_dev
	bl	_get_device
	str	x21, [x19, #8]
	ldr	w8, [x19, #4]
	add	w8, w8, w23
	str	w8, [x19, #4]
LBB0_12:
	bl	_rcu_read_unlock
	ldr	x0, [x19, #8]
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DISK_PITER_REVERSE,4,2         ; @DISK_PITER_REVERSE
	.comm	_DISK_PITER_INCL_PART0,4,2      ; @DISK_PITER_INCL_PART0
	.comm	_DISK_PITER_INCL_EMPTY_PART0,4,2 ; @DISK_PITER_INCL_EMPTY_PART0
	.comm	_DISK_PITER_INCL_EMPTY,4,2      ; @DISK_PITER_INCL_EMPTY
.subsections_via_symbols
