	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ftu_eff_switch_get
_snd_ftu_eff_switch_get:                ## @snd_ftu_eff_switch_get
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movw	$0, -42(%rbp)
	movq	(%rdi), %r12
	cmpl	$0, (%r12)
	je	LBB0_2
## %bb.1:
	movb	4(%r12), %al
	movq	(%r14), %rcx
	movb	%al, (%rcx)
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_2:
	movq	8(%r12), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	(%rbx), %r15
	xorl	%edi, %edi
	testq	%r15, %r15
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	(%r15), %edi
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_usb_rcvctrlpipe
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_UAC_GET_CUR@GOTPCREL(%rip), %rax
	movq	_USB_RECIP_INTERFACE@GOTPCREL(%rip), %rcx
	movq	_USB_TYPE_CLASS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r13d
	orl	(%rcx), %r13d
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_USB_DIR_IN@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movq	%r15, %rdi
	callq	_snd_usb_ctrl_intf
	orl	$1536, %eax                     ## imm = 0x600
	leaq	-42(%rbp), %r10
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	movl	$256, %r8d                      ## imm = 0x100
	movl	%eax, %r9d
	pushq	$2
	pushq	%r10
	callq	_snd_usb_ctl_msg
	addq	$16, %rsp
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movb	-42(%rbp), %al
	movq	(%r14), %rcx
	movb	%al, (%rcx)
	movb	-42(%rbp), %al
	movb	%al, 4(%r12)
	movl	$1, (%r12)
	jmp	LBB0_8
LBB0_6:
	movl	%eax, %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_UAC_GET_CUR,4,2                ## @UAC_GET_CUR
	.comm	_USB_RECIP_INTERFACE,4,2        ## @USB_RECIP_INTERFACE
	.comm	_USB_TYPE_CLASS,4,2             ## @USB_TYPE_CLASS
	.comm	_USB_DIR_IN,4,2                 ## @USB_DIR_IN
	.no_dead_strip	_snd_ftu_eff_switch_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ftu_eff_switch_get
_snd_ftu_eff_switch_get:                ; @snd_ftu_eff_switch_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	strh	wzr, [sp, #14]
	ldr	x25, [x0]
	ldr	w8, [x25]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w0, #0
	ldrb	w8, [x25, #4]
	ldr	x9, [x19]
	strb	w8, [x9]
	b	LBB0_5
LBB0_2:
	ldr	x20, [x25, #8]
	cmp	x20, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	x20, [x20]
	cmp	x20, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_6
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	ldr	w21, [x20]
	mov	x0, x21
	mov	w1, #0
	bl	_usb_rcvctrlpipe
	mov	x22, x0
Lloh3:
	adrp	x8, _UAC_GET_CUR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UAC_GET_CUR@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
Lloh6:
	adrp	x8, _USB_RECIP_INTERFACE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _USB_RECIP_INTERFACE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _USB_TYPE_CLASS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _USB_TYPE_CLASS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _USB_DIR_IN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _USB_DIR_IN@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w24, w8, w9
	mov	x0, x20
	bl	_snd_usb_ctrl_intf
	orr	w5, w0, #0x600
	add	x6, sp, #14
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	mov	w4, #256
	mov	w7, #2
	bl	_snd_usb_ctl_msg
	tbnz	w0, #31, LBB0_5
; %bb.7:
	mov	w0, #0
	ldrb	w8, [sp, #14]
	ldr	x9, [x19]
	strb	w8, [x9]
	ldrb	w8, [sp, #14]
	strb	w8, [x25, #4]
	mov	w8, #1
	str	w8, [x25]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_UAC_GET_CUR,4,2                ; @UAC_GET_CUR
	.comm	_USB_RECIP_INTERFACE,4,2        ; @USB_RECIP_INTERFACE
	.comm	_USB_TYPE_CLASS,4,2             ; @USB_TYPE_CLASS
	.comm	_USB_DIR_IN,4,2                 ; @USB_DIR_IN
	.no_dead_strip	_snd_ftu_eff_switch_get
.subsections_via_symbols
