	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function specific_minor
_specific_minor:                        ## @specific_minor
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_MINORBITS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	cmpl	%edi, %eax
	jle	LBB0_1
## %bb.3:
	movl	%edi, %r14d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	__minor_idr@GOTPCREL(%rip), %rdi
	callq	_idr_pre_get
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	__minor_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock
	movq	__minor_idr@GOTPCREL(%rip), %rdi
	movl	%r14d, %esi
	callq	_idr_find
	testq	%rax, %rax
	je	LBB0_6
LBB0_9:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_6:
	movq	_MINOR_ALLOCED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	__minor_idr@GOTPCREL(%rip), %rdi
	leaq	-20(%rbp), %rcx
	movl	%r14d, %edx
	callq	_idr_get_new_above
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movl	-20(%rbp), %esi
	xorl	%ebx, %ebx
	cmpl	%r14d, %esi
	jne	LBB0_8
LBB0_10:
	movq	__minor_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock
LBB0_11:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	__minor_idr@GOTPCREL(%rip), %rdi
	callq	_idr_remove
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_MINORBITS,4,2                  ## @MINORBITS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	__minor_idr,4,2                 ## @_minor_idr
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	__minor_lock,4,2                ## @_minor_lock
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_MINOR_ALLOCED,4,2              ## @MINOR_ALLOCED
	.no_dead_strip	_specific_minor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function specific_minor
_specific_minor:                        ; @specific_minor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _MINORBITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MINORBITS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	cmp	w8, w0
	b.le	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x0, __minor_idr@GOTPAGE
Lloh7:
	ldr	x0, [x0, __minor_idr@GOTPAGEOFF]
	bl	_idr_pre_get
	cbz	w0, LBB0_5
; %bb.2:
Lloh8:
	adrp	x0, __minor_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, __minor_lock@GOTPAGEOFF]
	bl	_spin_lock
Lloh10:
	adrp	x0, __minor_idr@GOTPAGE
Lloh11:
	ldr	x0, [x0, __minor_idr@GOTPAGEOFF]
	mov	x1, x19
	bl	_idr_find
	cbz	x0, LBB0_7
LBB0_3:
Lloh12:
	adrp	x8, _EBUSY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_10
LBB0_4:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_11
LBB0_7:
Lloh19:
	adrp	x8, _MINOR_ALLOCED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MINOR_ALLOCED@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x0, __minor_idr@GOTPAGE
Lloh23:
	ldr	x0, [x0, __minor_idr@GOTPAGEOFF]
	add	x3, sp, #12
	mov	x2, x19
	bl	_idr_get_new_above
	mov	x20, x0
	cbnz	w0, LBB0_10
; %bb.8:
	ldr	w1, [sp, #12]
	cmp	w1, w19
	b.ne	LBB0_12
; %bb.9:
	mov	w20, #0
LBB0_10:
Lloh24:
	adrp	x0, __minor_lock@GOTPAGE
Lloh25:
	ldr	x0, [x0, __minor_lock@GOTPAGEOFF]
	bl	_spin_unlock
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_12:
Lloh26:
	adrp	x0, __minor_idr@GOTPAGE
Lloh27:
	ldr	x0, [x0, __minor_idr@GOTPAGEOFF]
	bl	_idr_remove
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_MINORBITS,4,2                  ; @MINORBITS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	__minor_idr,4,2                 ; @_minor_idr
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	__minor_lock,4,2                ; @_minor_lock
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_MINOR_ALLOCED,4,2              ; @MINOR_ALLOCED
	.no_dead_strip	_specific_minor
.subsections_via_symbols
