	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_emu1010_dac_pads_put
_snd_emu1010_dac_pads_put:              ## @snd_emu1010_dac_pads_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movq	%rax, %r14
	movzbl	(%rbx), %ebx
	movq	(%r15), %rax
	movl	(%r14), %ecx
	movl	%ecx, %edx
	orl	%ebx, %edx
	notl	%ebx
	andl	%ecx, %ebx
	cmpl	$1, (%rax)
	cmovel	%edx, %ebx
	cmpl	%ecx, %ebx
	je	LBB0_2
## %bb.1:
	movq	_EMU_HANA_DAC_PADS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_snd_emu1010_fpga_write
	movl	%ebx, (%r14)
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EMU_HANA_DAC_PADS,4,2          ## @EMU_HANA_DAC_PADS
	.no_dead_strip	_snd_emu1010_dac_pads_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_emu1010_dac_pads_put
_snd_emu1010_dac_pads_put:              ; @snd_emu1010_dac_pads_put
	.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	x21, x0
	bl	_snd_kcontrol_chip
	ldrb	w8, [x21]
	ldr	x9, [x20]
	ldr	w9, [x9]
	ldr	w10, [x0]
	orr	w11, w10, w8
	bic	w8, w10, w8
	cmp	w9, #1
	csel	w20, w11, w8, eq
	cmp	w20, w10
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _EMU_HANA_DAC_PADS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EMU_HANA_DAC_PADS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_snd_emu1010_fpga_write
	str	w20, [x19]
LBB0_2:
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_EMU_HANA_DAC_PADS,4,2          ; @EMU_HANA_DAC_PADS
	.no_dead_strip	_snd_emu1010_dac_pads_put
.subsections_via_symbols
