	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MINORBITS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	cmpl	%edi, %eax
	jle	LBB0_1
## %bb.2:
	movl	%edi, %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_idr_preload
	movq	__minor_lock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	_MINOR_ALLOCED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	1(%rbx), %ecx
	movq	_GFP_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	__minor_idr@GOTPCREL(%rip), %rdi
	movl	%ebx, %edx
	callq	_idr_alloc
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_spin_unlock
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_idr_preload_end
	testl	%r14d, %r14d
	jns	LBB0_4
## %bb.3:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	subl	(%rcx), %ebx
	movl	(%rax), %eax
	addl	%r14d, %eax
	cmovnel	%r14d, %ebx
	jmp	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MINORBITS,4,2                  ## @MINORBITS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	__minor_lock,4,2                ## @_minor_lock
	.comm	__minor_idr,4,2                 ## @_minor_idr
	.comm	_MINOR_ALLOCED,4,2              ## @MINOR_ALLOCED
	.comm	_GFP_NOWAIT,4,2                 ## @GFP_NOWAIT
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_EBUSY,4,2                      ## @EBUSY
	.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:
	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
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_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_idr_preload
Lloh6:
	adrp	x20, __minor_lock@GOTPAGE
Lloh7:
	ldr	x20, [x20, __minor_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock
Lloh8:
	adrp	x8, _MINOR_ALLOCED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MINOR_ALLOCED@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	w3, w19, #1
Lloh11:
	adrp	x8, _GFP_NOWAIT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_NOWAIT@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x8]
Lloh14:
	adrp	x0, __minor_idr@GOTPAGE
Lloh15:
	ldr	x0, [x0, __minor_idr@GOTPAGEOFF]
	mov	x2, x19
	bl	_idr_alloc
	mov	x19, x0
	mov	x0, x20
	bl	_spin_unlock
	bl	_idr_preload_end
	tbnz	w19, #31, LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
Lloh19:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _EBUSY@GOTPAGE
Lloh23:
	ldr	x9, [x9, _EBUSY@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	cmn	w19, w8
	csneg	w0, w19, w9, ne
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_MINORBITS,4,2                  ; @MINORBITS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	__minor_lock,4,2                ; @_minor_lock
	.comm	__minor_idr,4,2                 ; @_minor_idr
	.comm	_MINOR_ALLOCED,4,2              ; @MINOR_ALLOCED
	.comm	_GFP_NOWAIT,4,2                 ; @GFP_NOWAIT
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_specific_minor
.subsections_via_symbols
