	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ewx2496_ak4524_lock
_ewx2496_ak4524_lock:                   ## @ewx2496_ak4524_lock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_snd_ice1712_save_gpio_status
	movq	_ICE1712_EWX2496_SERIAL_DATA@GOTPCREL(%rip), %rax
	movq	_ICE1712_EWX2496_SERIAL_CLOCK@GOTPCREL(%rip), %rcx
	movb	(%rcx), %bl
	orb	(%rax), %bl
	movq	_ICE1712_EWX2496_AK4524_CS@GOTPCREL(%rip), %rax
	orb	(%rax), %bl
	movq	_ICE1712_EWX2496_RW@GOTPCREL(%rip), %rax
	orb	(%rax), %bl
	movq	_ICE1712_IREG_GPIO_DIRECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movb	(%r14), %al
	orb	%bl, %al
	movzbl	%al, %edx
	movq	%r14, %rdi
	callq	_snd_ice1712_write
	movq	_ICE1712_IREG_GPIO_WRITE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notb	%bl
	movzbl	%bl, %edx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_snd_ice1712_write              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE1712_EWX2496_SERIAL_DATA,1,0 ## @ICE1712_EWX2496_SERIAL_DATA
	.comm	_ICE1712_EWX2496_SERIAL_CLOCK,1,0 ## @ICE1712_EWX2496_SERIAL_CLOCK
	.comm	_ICE1712_EWX2496_AK4524_CS,1,0  ## @ICE1712_EWX2496_AK4524_CS
	.comm	_ICE1712_EWX2496_RW,1,0         ## @ICE1712_EWX2496_RW
	.comm	_ICE1712_IREG_GPIO_DIRECTION,4,2 ## @ICE1712_IREG_GPIO_DIRECTION
	.comm	_ICE1712_IREG_GPIO_WRITE_MASK,4,2 ## @ICE1712_IREG_GPIO_WRITE_MASK
	.no_dead_strip	_ewx2496_ak4524_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ewx2496_ak4524_lock
_ewx2496_ak4524_lock:                   ; @ewx2496_ak4524_lock
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	x19, [x8]
	mov	x0, x19
	bl	_snd_ice1712_save_gpio_status
Lloh0:
	adrp	x8, _ICE1712_EWX2496_SERIAL_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICE1712_EWX2496_SERIAL_DATA@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh2:
	adrp	x9, _ICE1712_EWX2496_SERIAL_CLOCK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ICE1712_EWX2496_SERIAL_CLOCK@GOTPAGEOFF]
	ldrb	w9, [x9]
	orr	w8, w9, w8
Lloh4:
	adrp	x9, _ICE1712_EWX2496_AK4524_CS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ICE1712_EWX2496_AK4524_CS@GOTPAGEOFF]
	ldrb	w9, [x9]
	orr	w8, w8, w9
Lloh6:
	adrp	x9, _ICE1712_EWX2496_RW@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ICE1712_EWX2496_RW@GOTPAGEOFF]
	ldrb	w9, [x9]
	orr	w20, w8, w9
Lloh8:
	adrp	x8, _ICE1712_IREG_GPIO_DIRECTION@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ICE1712_IREG_GPIO_DIRECTION@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldrb	w8, [x19]
	orr	w8, w8, w20
	and	w2, w8, #0xff
	mov	x0, x19
	bl	_snd_ice1712_write
Lloh11:
	adrp	x8, _ICE1712_IREG_GPIO_WRITE_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ICE1712_IREG_GPIO_WRITE_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mvn	w8, w20
	and	w2, w8, #0xff
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snd_ice1712_write
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE1712_EWX2496_SERIAL_DATA,1,0 ; @ICE1712_EWX2496_SERIAL_DATA
	.comm	_ICE1712_EWX2496_SERIAL_CLOCK,1,0 ; @ICE1712_EWX2496_SERIAL_CLOCK
	.comm	_ICE1712_EWX2496_AK4524_CS,1,0  ; @ICE1712_EWX2496_AK4524_CS
	.comm	_ICE1712_EWX2496_RW,1,0         ; @ICE1712_EWX2496_RW
	.comm	_ICE1712_IREG_GPIO_DIRECTION,4,2 ; @ICE1712_IREG_GPIO_DIRECTION
	.comm	_ICE1712_IREG_GPIO_WRITE_MASK,4,2 ; @ICE1712_IREG_GPIO_WRITE_MASK
	.no_dead_strip	_ewx2496_ak4524_lock
.subsections_via_symbols
