	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ice1712_ews88mt_output_sense_get
_snd_ice1712_ews88mt_output_sense_get:  ## @snd_ice1712_ews88mt_output_sense_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_snd_kcontrol_chip
	movq	%rax, %rbx
	movq	8(%rax), %r15
	movl	(%rax), %edi
	callq	_snd_i2c_lock
	movq	(%r15), %rax
	movq	_EWS_I2C_PCF2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	-25(%rbp), %rsi
	movl	$1, %edx
	callq	_snd_i2c_readbytes
	movl	%eax, %r15d
	movl	(%rbx), %edi
	callq	_snd_i2c_unlock
	cmpl	$1, %r15d
	jne	LBB0_1
## %bb.2:
	movq	_ICE1712_EWS88MT_OUTPUT_SENSE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	xorl	%ecx, %ecx
	andb	-25(%rbp), %al
	setne	%cl
	movq	(%r14), %rax
	movl	%ecx, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EWS_I2C_PCF2,8,3               ## @EWS_I2C_PCF2
	.comm	_EIO,4,2                        ## @EIO
	.comm	_ICE1712_EWS88MT_OUTPUT_SENSE,1,0 ## @ICE1712_EWS88MT_OUTPUT_SENSE
	.no_dead_strip	_snd_ice1712_ews88mt_output_sense_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ice1712_ews88mt_output_sense_get
_snd_ice1712_ews88mt_output_sense_get:  ; @snd_ice1712_ews88mt_output_sense_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	bl	_snd_kcontrol_chip
	mov	x20, x0
	ldr	x21, [x0, #8]
	ldr	w0, [x0]
	bl	_snd_i2c_lock
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _EWS_I2C_PCF2@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EWS_I2C_PCF2@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	add	x1, sp, #15
	mov	w2, #1
	bl	_snd_i2c_readbytes
	mov	x21, x0
	ldr	w0, [x20]
	bl	_snd_i2c_unlock
	cmp	w21, #1
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
Lloh3:
	adrp	x8, _ICE1712_EWS88MT_OUTPUT_SENSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICE1712_EWS88MT_OUTPUT_SENSE@GOTPAGEOFF]
	ldrb	w9, [sp, #15]
	ldrb	w8, [x8]
	tst	w8, w9
	cset	w8, ne
	ldr	x9, [x19]
	str	w8, [x9]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _EIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EWS_I2C_PCF2,8,3               ; @EWS_I2C_PCF2
	.comm	_EIO,4,2                        ; @EIO
	.comm	_ICE1712_EWS88MT_OUTPUT_SENSE,1,0 ; @ICE1712_EWS88MT_OUTPUT_SENSE
	.no_dead_strip	_snd_ice1712_ews88mt_output_sense_get
.subsections_via_symbols
