	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_kernel_minor
_snd_kernel_minor:                      ## @snd_kernel_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	%rsi, %r14
	movl	%edi, %ebx
	leal	-130(%rbx), %eax
	cmpl	$4, %eax
	jae	LBB0_1
## %bb.9:
	movl	%edx, %r15d
	xorl	%edi, %edi
	testq	%r14, %r14
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_7
## %bb.10:
	movl	(%r14), %edi
	addl	%ebx, %r15d
	movl	%r15d, %esi
	jmp	LBB0_5
LBB0_1:
	leal	-128(%rbx), %eax
	cmpl	$2, %eax
	jb	LBB0_6
## %bb.2:
	cmpl	$134, %ebx
	jne	LBB0_7
## %bb.3:
	xorl	%edi, %edi
	testq	%r14, %r14
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movl	(%r14), %edi
	movl	$134, %esi
LBB0_5:
	callq	_SNDRV_MINOR
	movl	%eax, %ebx
LBB0_6:
	testl	%ebx, %ebx
	sets	%al
	movq	_SNDRV_OS_MINORS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	setge	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_SNDRV_OS_MINORS,4,2            ## @SNDRV_OS_MINORS
	.no_dead_strip	_snd_kernel_minor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_kernel_minor
_snd_kernel_minor:                      ; @snd_kernel_minor
	.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
	mov	x20, x1
	mov	x19, x0
	sub	w8, w0, #130
	cmp	w8, #4
	b.hs	LBB0_3
; %bb.1:
	mov	x21, x2
	cmp	x20, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_9
; %bb.2:
	ldr	w0, [x20]
	add	w1, w21, w19
	b	LBB0_7
LBB0_3:
	sub	w8, w19, #128
	cmp	w8, #2
	b.lo	LBB0_8
; %bb.4:
	cmp	w19, #134
	b.ne	LBB0_9
; %bb.5:
	cmp	x20, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_9
; %bb.6:
	ldr	w0, [x20]
	mov	w1, #134
LBB0_7:
	bl	_SNDRV_MINOR
	mov	x19, x0
LBB0_8:
	cmp	w19, #0
Lloh0:
	adrp	x8, _SNDRV_OS_MINORS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_OS_MINORS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ccmp	w19, w8, #0, ge
	cset	w0, ge
	bl	_snd_BUG_ON
	cbz	x0, LBB0_10
LBB0_9:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_10:
	mov	x0, x19
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_SNDRV_OS_MINORS,4,2            ; @SNDRV_OS_MINORS
	.no_dead_strip	_snd_kernel_minor
.subsections_via_symbols
