	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx81801_receive
_cx81801_receive:                       ## @cx81801_receive
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rdi), %r13
	cmpl	$0, 8(%r13)
	je	LBB0_1
## %bb.3:
	movq	_v253_ops@GOTPCREL(%rip), %rax
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	*(%rax)
	testl	%ebx, %ebx
	jle	LBB0_8
## %bb.4:
	decl	%ebx
	addq	%r14, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$13, (%rbx)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	decq	%rbx
	cmpq	%r14, %rbx
	jae	LBB0_6
	jmp	LBB0_8
LBB0_1:
	movq	_cx81801_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_cx81801_timer@GOTPCREL(%rip), %rdi
	xorl	%edx, %edx
	callq	_setup_timer
	movq	_v253_ops@GOTPCREL(%rip), %rax
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	*(%rax)
	movq	_ams_delta_hook_switch_pins@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_ARRAY_SIZE
	movl	(%rbx), %edx
	movq	_ams_delta_hook_switch@GOTPCREL(%rip), %rdi
	movl	%eax, %esi
	callq	_snd_soc_jack_add_pins
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movq	(%r13), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
LBB0_7:
	movq	_ams_delta_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	$150, %edi
	callq	_msecs_to_jiffies
	addq	%rax, %rbx
	movq	_cx81801_timer@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_mod_timer
	movq	_ams_delta_muted@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_cx81801_cmd_pending@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$1, (%rax)
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	orl	%r15d, %ebx
	jne	LBB0_8
## %bb.9:
	movq	_AMS_DELTA_LATCH2_MODEM_CODEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ams_delta_latch2_write         ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cx81801_timer,4,2              ## @cx81801_timer
	.comm	_cx81801_timeout,4,2            ## @cx81801_timeout
	.comm	_v253_ops,8,3                   ## @v253_ops
	.comm	_ams_delta_hook_switch,4,2      ## @ams_delta_hook_switch
	.comm	_ams_delta_hook_switch_pins,4,2 ## @ams_delta_hook_switch_pins
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to link hook switch to DAPM pins, will continue with hook switch unlinked.\n"

	.comm	_ams_delta_lock,4,2             ## @ams_delta_lock
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_ams_delta_muted,4,2            ## @ams_delta_muted
	.comm	_cx81801_cmd_pending,4,2        ## @cx81801_cmd_pending
	.comm	_AMS_DELTA_LATCH2_MODEM_CODEC,4,2 ## @AMS_DELTA_LATCH2_MODEM_CODEC
	.no_dead_strip	_cx81801_receive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx81801_receive
_cx81801_receive:                       ; @cx81801_receive
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	ldr	x23, [x0]
	ldr	w8, [x23, #8]
	cbz	w8, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _v253_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _v253_ops@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	blr	x8
	subs	w8, w20, #1
	b.lt	LBB0_9
; %bb.2:
	add	x8, x19, x8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8]
	cmp	w9, #13
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x8, x8, #1
	cmp	x8, x19
	b.hs	LBB0_3
	b	LBB0_9
LBB0_5:
Lloh3:
	adrp	x8, _cx81801_timeout@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cx81801_timeout@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x0, _cx81801_timer@GOTPAGE
Lloh7:
	ldr	x0, [x0, _cx81801_timer@GOTPAGEOFF]
	mov	w2, #0
	bl	_setup_timer
Lloh8:
	adrp	x8, _v253_ops@GOTPAGE
Lloh9:
	ldr	x8, [x8, _v253_ops@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	blr	x8
Lloh11:
	adrp	x19, _ams_delta_hook_switch_pins@GOTPAGE
Lloh12:
	ldr	x19, [x19, _ams_delta_hook_switch_pins@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_ARRAY_SIZE
	mov	x1, x0
	ldr	w2, [x19]
Lloh13:
	adrp	x0, _ams_delta_hook_switch@GOTPAGE
Lloh14:
	ldr	x0, [x0, _ams_delta_hook_switch@GOTPAGEOFF]
	bl	_snd_soc_jack_add_pins
	cbz	w0, LBB0_9
; %bb.6:
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_dev_warn
LBB0_7:
Lloh17:
	adrp	x19, _ams_delta_lock@GOTPAGE
Lloh18:
	ldr	x19, [x19, _ams_delta_lock@GOTPAGEOFF]
	mov	x0, x19
	bl	_spin_lock_bh
Lloh19:
	adrp	x8, _jiffies@GOTPAGE
Lloh20:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh21:
	ldr	x20, [x8]
	mov	w0, #150
	bl	_msecs_to_jiffies
	add	x1, x0, x20
Lloh22:
	adrp	x0, _cx81801_timer@GOTPAGE
Lloh23:
	ldr	x0, [x0, _cx81801_timer@GOTPAGEOFF]
	bl	_mod_timer
Lloh24:
	adrp	x8, _ams_delta_muted@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ams_delta_muted@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _cx81801_cmd_pending@GOTPAGE
Lloh28:
	ldr	x9, [x9, _cx81801_cmd_pending@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w20, w8, w10
	mov	w8, #1
	str	w8, [x9]
	mov	x0, x19
	bl	_spin_unlock_bh
	cbnz	w20, LBB0_9
; %bb.8:
Lloh29:
	adrp	x8, _AMS_DELTA_LATCH2_MODEM_CODEC@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AMS_DELTA_LATCH2_MODEM_CODEC@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	mov	x1, x0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ams_delta_latch2_write
LBB0_9:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_cx81801_timer,4,2              ; @cx81801_timer
	.comm	_cx81801_timeout,4,2            ; @cx81801_timeout
	.comm	_v253_ops,8,3                   ; @v253_ops
	.comm	_ams_delta_hook_switch,4,2      ; @ams_delta_hook_switch
	.comm	_ams_delta_hook_switch_pins,4,2 ; @ams_delta_hook_switch_pins
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to link hook switch to DAPM pins, will continue with hook switch unlinked.\n"

	.comm	_ams_delta_lock,4,2             ; @ams_delta_lock
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_ams_delta_muted,4,2            ; @ams_delta_muted
	.comm	_cx81801_cmd_pending,4,2        ; @cx81801_cmd_pending
	.comm	_AMS_DELTA_LATCH2_MODEM_CODEC,4,2 ; @AMS_DELTA_LATCH2_MODEM_CODEC
	.no_dead_strip	_cx81801_receive
.subsections_via_symbols
