	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function minor_free
_minor_free:                            ## @minor_free
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %eax
	movq	_AOE_PARTITIONS@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %ebx
	movq	_N_DEVS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %ebx
	setge	%dil
	callq	_BUG_ON
	movq	_used_minors_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_used_minors@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	%ebx, %edi
	callq	_test_bit
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	movl	(%r15), %esi
	movl	%ebx, %edi
	callq	_clear_bit
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AOE_PARTITIONS,4,2             ## @AOE_PARTITIONS
	.comm	_N_DEVS,4,2                     ## @N_DEVS
	.comm	_used_minors_lock,4,2           ## @used_minors_lock
	.comm	_used_minors,4,2                ## @used_minors
	.no_dead_strip	_minor_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function minor_free
_minor_free:                            ; @minor_free
	.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
Lloh0:
	adrp	x8, _AOE_PARTITIONS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AOE_PARTITIONS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sdiv	w19, w0, w8
Lloh3:
	adrp	x8, _N_DEVS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _N_DEVS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w19, w8
	cset	w0, ge
	bl	_BUG_ON
Lloh6:
	adrp	x20, _used_minors_lock@GOTPAGE
Lloh7:
	ldr	x20, [x20, _used_minors_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh8:
	adrp	x21, _used_minors@GOTPAGE
Lloh9:
	ldr	x21, [x21, _used_minors@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_test_bit
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	w1, [x21]
	mov	x0, x19
	bl	_clear_bit
	mov	x0, x20
	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
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AOE_PARTITIONS,4,2             ; @AOE_PARTITIONS
	.comm	_N_DEVS,4,2                     ; @N_DEVS
	.comm	_used_minors_lock,4,2           ; @used_minors_lock
	.comm	_used_minors,4,2                ; @used_minors
	.no_dead_strip	_minor_free
.subsections_via_symbols
