	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx81801_timeout
_cx81801_timeout:                       ## @cx81801_timeout
	.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	_ams_delta_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movq	_cx81801_cmd_pending@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_ams_delta_muted@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_spin_unlock
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_AMS_DELTA_LATCH2_MODEM_CODEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ams_delta_latch2_write         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ams_delta_lock,4,2             ## @ams_delta_lock
	.comm	_cx81801_cmd_pending,8,3        ## @cx81801_cmd_pending
	.comm	_ams_delta_muted,4,2            ## @ams_delta_muted
	.comm	_AMS_DELTA_LATCH2_MODEM_CODEC,4,2 ## @AMS_DELTA_LATCH2_MODEM_CODEC
	.no_dead_strip	_cx81801_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx81801_timeout
_cx81801_timeout:                       ; @cx81801_timeout
	.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
Lloh0:
	adrp	x19, _ams_delta_lock@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ams_delta_lock@GOTPAGEOFF]
	mov	x0, x19
	bl	_spin_lock
Lloh2:
	adrp	x8, _cx81801_cmd_pending@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cx81801_cmd_pending@GOTPAGEOFF]
Lloh4:
	str	xzr, [x8]
Lloh5:
	adrp	x8, _ams_delta_muted@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ams_delta_muted@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_spin_unlock
	cbz	w20, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh8:
	adrp	x8, _AMS_DELTA_LATCH2_MODEM_CODEC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AMS_DELTA_LATCH2_MODEM_CODEC@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ams_delta_latch2_write
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ams_delta_lock,4,2             ; @ams_delta_lock
	.comm	_cx81801_cmd_pending,8,3        ; @cx81801_cmd_pending
	.comm	_ams_delta_muted,4,2            ; @ams_delta_muted
	.comm	_AMS_DELTA_LATCH2_MODEM_CODEC,4,2 ; @AMS_DELTA_LATCH2_MODEM_CODEC
	.no_dead_strip	_cx81801_timeout
.subsections_via_symbols
