	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ftu_eff_switch_put
_snd_ftu_eff_switch_put:                ## @snd_ftu_eff_switch_put
	.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	(%rdi), %r13
	movl	(%r13), %r12d
	movq	(%rsi), %rax
	movl	(%rax), %r14d
	movq	8(%r13), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	(%rbx), %r15
	xorl	%edi, %edi
	testq	%r15, %r15
	sete	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	cmpl	$0, 4(%r13)
	jne	LBB0_6
## %bb.4:
	movl	(%r15), %ebx
	movl	%ebx, %edi
	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), %r12d
	orl	(%rcx), %r12d
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_USB_DIR_IN@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_snd_usb_ctrl_intf
	orl	$1536, %eax                     ## imm = 0x600
	leaq	-42(%rbp), %r10
	movl	%ebx, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%r12d, %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_9
## %bb.5:
	movzbl	-42(%rbp), %r12d
	movl	%r12d, (%r13)
	movl	$1, 4(%r13)
LBB0_6:
	xorl	%eax, %eax
	cmpl	%r14d, %r12d
	je	LBB0_9
## %bb.7:
	movb	%r14b, -42(%rbp)
	movb	$0, -41(%rbp)
	movl	(%r15), %r12d
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	_usb_sndctrlpipe
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_UAC_SET_CUR@GOTPCREL(%rip), %rax
	movq	_USB_RECIP_INTERFACE@GOTPCREL(%rip), %rcx
	movq	_USB_TYPE_CLASS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_USB_DIR_OUT@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_snd_usb_ctrl_intf
	orl	$1536, %eax                     ## imm = 0x600
	leaq	-42(%rbp), %r10
	movl	%r12d, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %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_9
## %bb.8:
	movl	%r14d, (%r13)
	movl	$1, 4(%r13)
	movl	$1, %eax
	jmp	LBB0_9
	.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
	.comm	_UAC_SET_CUR,4,2                ## @UAC_SET_CUR
	.comm	_USB_DIR_OUT,4,2                ## @USB_DIR_OUT
	.no_dead_strip	_snd_ftu_eff_switch_put
.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_put
_snd_ftu_eff_switch_put:                ; @snd_ftu_eff_switch_put
	.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
	ldr	x24, [x0]
	ldr	w20, [x24]
	ldr	x8, [x1]
	ldr	w25, [x8]
	ldr	x19, [x24, #8]
	cmp	x19, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x19, [x19]
	cmp	x19, #0
	cset	w0, eq
	bl	_snd_BUG_ON
	cbz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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_4:
	ldr	w8, [x24, #4]
	cbz	w8, LBB0_7
; %bb.5:
	cmp	w20, w25
	b.ne	LBB0_9
LBB0_6:
	mov	w0, #0
	b	LBB0_3
LBB0_7:
	ldr	w20, [x19]
	mov	x0, x20
	mov	w1, #0
	bl	_usb_rcvctrlpipe
	mov	x21, x0
Lloh3:
	adrp	x8, _UAC_GET_CUR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UAC_GET_CUR@GOTPAGEOFF]
Lloh5:
	ldr	w22, [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	w23, w8, w9
	mov	x0, x19
	bl	_snd_usb_ctrl_intf
	orr	w5, w0, #0x600
	add	x6, sp, #14
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	w4, #256
	mov	w7, #2
	bl	_snd_usb_ctl_msg
	tbnz	w0, #31, LBB0_3
; %bb.8:
	ldrb	w20, [sp, #14]
	mov	w8, #1
	stp	w20, w8, [x24]
	cmp	w20, w25
	b.eq	LBB0_6
LBB0_9:
	strb	w25, [sp, #14]
	strb	wzr, [sp, #15]
	ldr	w20, [x19]
	mov	x0, x20
	mov	w1, #0
	bl	_usb_sndctrlpipe
	mov	x21, x0
Lloh15:
	adrp	x8, _UAC_SET_CUR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _UAC_SET_CUR@GOTPAGEOFF]
Lloh17:
	ldr	w22, [x8]
Lloh18:
	adrp	x8, _USB_RECIP_INTERFACE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _USB_RECIP_INTERFACE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _USB_TYPE_CLASS@GOTPAGE
Lloh22:
	ldr	x9, [x9, _USB_TYPE_CLASS@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh24:
	adrp	x9, _USB_DIR_OUT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _USB_DIR_OUT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w23, w8, w9
	mov	x0, x19
	bl	_snd_usb_ctrl_intf
	orr	w5, w0, #0x600
	add	x6, sp, #14
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	w4, #256
	mov	w7, #2
	bl	_snd_usb_ctl_msg
	tbnz	w0, #31, LBB0_3
; %bb.10:
	mov	w0, #1
	stp	w25, w0, [x24]
	b	LBB0_3
	.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
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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
	.comm	_UAC_SET_CUR,4,2                ; @UAC_SET_CUR
	.comm	_USB_DIR_OUT,4,2                ; @USB_DIR_OUT
	.no_dead_strip	_snd_ftu_eff_switch_put
.subsections_via_symbols
