	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pas_mixer_set
_pas_mixer_set:                         ## @pas_mixer_set
	.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
	movl	%esi, %ebx
	movl	%edi, %r14d
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_printk
	movl	%eax, %edi
	callq	_DEB
	movq	_SOUND_MIXER_NRDEVICES@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	xorl	%r8d, %r8d
	cmpl	%r14d, %eax
	jle	LBB0_2
## %bb.1:
	movq	_rec_devices@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r8d, %r8d
	btl	%r14d, %ecx
	setb	%r8b
	shll	$5, %r8d
LBB0_2:
	leal	-128(%r14), %ecx
	cmpl	$12, %ecx
	ja	LBB0_21
## %bb.3:
	movl	%ebx, %edi
	shrl	$8, %edi
	movl	%ebx, %esi
	andl	$127, %esi
	andl	$127, %edi
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_22:
	movl	$63, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_mixer_output
	movq	_levels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 512(%rcx)
	jmp	LBB0_23
LBB0_21:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_24
LBB0_5:
	movl	$12, %edx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	callq	_mixer_output
	movq	_levels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 516(%rcx)
	jmp	LBB0_23
LBB0_6:
	movl	$31, %edx
	movl	$16, %ecx
	callq	_mixer_output
	movq	_levels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 520(%rcx)
	jmp	LBB0_23
LBB0_9:
	movl	$31, %edx
	movl	$22, %ecx
	callq	_mixer_output
	movq	_levels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 524(%rcx)
	jmp	LBB0_23
LBB0_15:
	movq	_POSSIBLE_RECORDING_DEVICES@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	movq	_rec_devices@GOTPCREL(%rip), %r14
	movl	(%r14), %r12d
	xorl	%ebx, %r12d
	movl	%ebx, (%r14)
	testl	%eax, %eax
	jle	LBB0_24
## %bb.16:
	xorl	%ebx, %ebx
	movq	_levels@GOTPCREL(%rip), %r13
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_20
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	btl	%ebx, %r12d
	jae	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movl	%ebx, %edi
	callq	_pas_mixer_set
	movl	(%r15), %eax
	jmp	LBB0_19
LBB0_14:
	movl	$15, %edx
	movl	$2, %ecx
	xorl	%r8d, %r8d
	callq	_mixer_output
	movq	_levels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 532(%rcx)
	jmp	LBB0_23
LBB0_7:
	movl	$31, %edx
	movl	$21, %ecx
	callq	_mixer_output
	movq	_levels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 536(%rcx)
	jmp	LBB0_23
LBB0_12:
	movl	$31, %edx
	movl	$20, %ecx
	callq	_mixer_output
	movq	_levels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 540(%rcx)
	jmp	LBB0_23
LBB0_10:
	movl	$31, %edx
	movl	$18, %ecx
	callq	_mixer_output
	movq	_levels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 544(%rcx)
	jmp	LBB0_23
LBB0_13:
	movl	$31, %edx
	movl	$17, %ecx
	xorl	%r8d, %r8d
	callq	_mixer_output
	movq	_levels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 548(%rcx)
	jmp	LBB0_23
LBB0_11:
	movl	$31, %edx
	movl	$19, %ecx
	callq	_mixer_output
	movq	_levels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 552(%rcx)
	jmp	LBB0_23
LBB0_4:
	movl	$12, %edx
	movl	$3, %ecx
	xorl	%r8d, %r8d
	callq	_mixer_output
	movq	_levels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 556(%rcx)
	jmp	LBB0_23
LBB0_8:
	movl	$31, %edx
	movl	$23, %ecx
	callq	_mixer_output
	movq	_levels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 560(%rcx)
LBB0_23:
	movl	%r14d, %eax
	movl	(%rcx,%rax,4), %ebx
LBB0_24:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movl	(%r14), %ebx
	jmp	LBB0_24
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_15
	.long	L0_0_set_14
	.long	L0_0_set_7
	.long	L0_0_set_12
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_4
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"static int pas_mixer_set(int whichDev = %d, unsigned int level = %X)\n"

	.comm	_SOUND_MIXER_NRDEVICES,4,2      ## @SOUND_MIXER_NRDEVICES
	.comm	_rec_devices,4,2                ## @rec_devices
	.comm	_levels,8,3                     ## @levels
	.comm	_POSSIBLE_RECORDING_DEVICES,4,2 ## @POSSIBLE_RECORDING_DEVICES
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_pas_mixer_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pas_mixer_set
_pas_mixer_set:                         ; @pas_mixer_set
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_printk
	bl	_DEB
Lloh2:
	adrp	x21, _SOUND_MIXER_NRDEVICES@GOTPAGE
Lloh3:
	ldr	x21, [x21, _SOUND_MIXER_NRDEVICES@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, w19
	b.le	LBB0_2
; %bb.1:
Lloh4:
	adrp	x9, _rec_devices@GOTPAGE
Lloh5:
	ldr	x9, [x9, _rec_devices@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	lsr	w9, w9, w19
	ubfiz	w4, w9, #5, #1
	b	LBB0_3
LBB0_2:
	mov	w4, #0
LBB0_3:
	sub	w9, w19, #128
	cmp	w9, #12
	b.hi	LBB0_6
; %bb.4:
	and	w1, w20, #0x7f
	ubfx	w0, w20, #8, #7
Lloh7:
	adrp	x10, lJTI0_0@PAGE
Lloh8:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_5
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_5:
	mov	w2, #63
	mov	w3, #1
	mov	w4, #0
	bl	_mixer_output
Lloh9:
	adrp	x8, _levels@GOTPAGE
Lloh10:
	ldr	x8, [x8, _levels@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	w0, [x8, #512]
	b	LBB0_23
LBB0_6:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_24
LBB0_7:
	mov	w2, #12
	mov	w3, #4
	mov	w4, #0
	bl	_mixer_output
Lloh15:
	adrp	x8, _levels@GOTPAGE
Lloh16:
	ldr	x8, [x8, _levels@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	str	w0, [x8, #516]
	b	LBB0_23
LBB0_8:
	mov	w2, #31
	mov	w3, #16
	bl	_mixer_output
Lloh18:
	adrp	x8, _levels@GOTPAGE
Lloh19:
	ldr	x8, [x8, _levels@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	str	w0, [x8, #520]
	b	LBB0_23
LBB0_9:
	mov	w2, #31
	mov	w3, #22
	bl	_mixer_output
Lloh21:
	adrp	x8, _levels@GOTPAGE
Lloh22:
	ldr	x8, [x8, _levels@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	str	w0, [x8, #524]
	b	LBB0_23
LBB0_10:
Lloh24:
	adrp	x9, _POSSIBLE_RECORDING_DEVICES@GOTPAGE
Lloh25:
	ldr	x9, [x9, _POSSIBLE_RECORDING_DEVICES@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	and	w0, w9, w20
Lloh27:
	adrp	x20, _rec_devices@GOTPAGE
Lloh28:
	ldr	x20, [x20, _rec_devices@GOTPAGEOFF]
	ldr	w9, [x20]
	str	w0, [x20]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.11:
	mov	x19, #0
	eor	w22, w0, w9
Lloh29:
	adrp	x23, _levels@GOTPAGE
Lloh30:
	ldr	x23, [x23, _levels@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x19, x19, #1
	cmp	x19, w8, sxtw
	b.ge	LBB0_25
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	lsr	w9, w22, w19
	tbz	w9, #0, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x23]
	ldr	w1, [x8, x19, lsl #2]
	mov	x0, x19
	bl	_pas_mixer_set
	ldr	w8, [x21]
	b	LBB0_12
LBB0_15:
	mov	w2, #15
	mov	w3, #2
	mov	w4, #0
	bl	_mixer_output
Lloh31:
	adrp	x8, _levels@GOTPAGE
Lloh32:
	ldr	x8, [x8, _levels@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	str	w0, [x8, #532]
	b	LBB0_23
LBB0_16:
	mov	w2, #31
	mov	w3, #21
	bl	_mixer_output
Lloh34:
	adrp	x8, _levels@GOTPAGE
Lloh35:
	ldr	x8, [x8, _levels@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	str	w0, [x8, #536]
	b	LBB0_23
LBB0_17:
	mov	w2, #31
	mov	w3, #20
	bl	_mixer_output
Lloh37:
	adrp	x8, _levels@GOTPAGE
Lloh38:
	ldr	x8, [x8, _levels@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	str	w0, [x8, #540]
	b	LBB0_23
LBB0_18:
	mov	w2, #31
	mov	w3, #18
	bl	_mixer_output
Lloh40:
	adrp	x8, _levels@GOTPAGE
Lloh41:
	ldr	x8, [x8, _levels@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	str	w0, [x8, #544]
	b	LBB0_23
LBB0_19:
	mov	w2, #31
	mov	w3, #17
	mov	w4, #0
	bl	_mixer_output
Lloh43:
	adrp	x8, _levels@GOTPAGE
Lloh44:
	ldr	x8, [x8, _levels@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	str	w0, [x8, #548]
	b	LBB0_23
LBB0_20:
	mov	w2, #31
	mov	w3, #19
	bl	_mixer_output
Lloh46:
	adrp	x8, _levels@GOTPAGE
Lloh47:
	ldr	x8, [x8, _levels@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	str	w0, [x8, #552]
	b	LBB0_23
LBB0_21:
	mov	w2, #12
	mov	w3, #3
	mov	w4, #0
	bl	_mixer_output
Lloh49:
	adrp	x8, _levels@GOTPAGE
Lloh50:
	ldr	x8, [x8, _levels@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	str	w0, [x8, #556]
	b	LBB0_23
LBB0_22:
	mov	w2, #31
	mov	w3, #23
	bl	_mixer_output
Lloh52:
	adrp	x8, _levels@GOTPAGE
Lloh53:
	ldr	x8, [x8, _levels@GOTPAGEOFF]
Lloh54:
	ldr	x8, [x8]
	str	w0, [x8, #560]
LBB0_23:
	ldr	w0, [x8, w19, uxtw #2]
LBB0_24:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_25:
	ldr	w0, [x20]
	b	LBB0_24
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_16-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_18-LBB0_5)>>2
	.byte	(LBB0_19-LBB0_5)>>2
	.byte	(LBB0_20-LBB0_5)>>2
	.byte	(LBB0_21-LBB0_5)>>2
	.byte	(LBB0_22-LBB0_5)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"static int pas_mixer_set(int whichDev = %d, unsigned int level = %X)\n"

	.comm	_SOUND_MIXER_NRDEVICES,4,2      ; @SOUND_MIXER_NRDEVICES
	.comm	_rec_devices,4,2                ; @rec_devices
	.comm	_levels,8,3                     ; @levels
	.comm	_POSSIBLE_RECORDING_DEVICES,4,2 ; @POSSIBLE_RECORDING_DEVICES
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_pas_mixer_set
.subsections_via_symbols
