	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_tea575x_read
_snd_tea575x_read:                      ## @snd_tea575x_read
	.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
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.10:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
LBB0_1:
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	*24(%rax)
	movq	8(%r15), %rax
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	*16(%rax)
	movl	$16, %edi
	callq	_udelay
	movl	$24, %ebx
	movq	_TEA575X_MOST@GOTPCREL(%rip), %r13
	movq	_TEA575X_DATA@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	andl	(%r12), %eax
	setne	%cl
	orl	%ecx, %r14d
	movl	$2, %edi
	callq	_udelay
	decl	%ebx
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	_TEA575X_CLK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	callq	*16(%rax)
	movl	$2, %edi
	callq	_udelay
	cmpl	$1, %ebx
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	movq	%r15, %rdi
	callq	*8(%rax)
	xorl	%ecx, %ecx
	andl	(%r13), %eax
	sete	%cl
	movl	%ecx, (%r15)
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	*16(%rax)
	movl	$2, %edi
	callq	_udelay
	addl	%r14d, %r14d
	movq	8(%r15), %rax
	movq	%r15, %rdi
	callq	*8(%rax)
	cmpl	$1, %ebx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	movl	(%r13), %edx
	andl	%eax, %edx
	sete	%cl
	movl	%ecx, 4(%r15)
	jmp	LBB0_6
LBB0_7:
	cmpq	$0, 16(%r15)
	je	LBB0_9
## %bb.8:
	movq	8(%r15), %rax
	movq	_TEA575X_WREN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	callq	*16(%rax)
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TEA575X_CLK,4,2                ## @TEA575X_CLK
	.comm	_TEA575X_MOST,4,2               ## @TEA575X_MOST
	.comm	_TEA575X_DATA,4,2               ## @TEA575X_DATA
	.comm	_TEA575X_WREN,4,2               ## @TEA575X_WREN
	.no_dead_strip	_snd_tea575x_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_tea575x_read
_snd_tea575x_read:                      ; @snd_tea575x_read
	.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	x19, x0
	ldr	x8, [x0, #8]
	ldr	x1, [x8]
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x19
	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
	br	x1
LBB0_2:
	ldr	x8, [x8, #24]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #16]
	mov	x0, x19
	mov	w1, #0
	blr	x8
	mov	w0, #16
	bl	_udelay
	mov	w20, #0
	mov	w21, #24
Lloh0:
	adrp	x22, _TEA575X_CLK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TEA575X_CLK@GOTPAGEOFF]
Lloh2:
	adrp	x23, _TEA575X_MOST@GOTPAGE
Lloh3:
	ldr	x23, [x23, _TEA575X_MOST@GOTPAGEOFF]
Lloh4:
	adrp	x24, _TEA575X_DATA@GOTPAGE
Lloh5:
	ldr	x24, [x24, _TEA575X_DATA@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsl	w8, w20, #1
	ldr	w9, [x24]
	tst	w9, w0
	cset	w9, ne
	orr	w20, w8, w9
	mov	w0, #2
	bl	_udelay
	subs	w21, w21, #1
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #16]
	ldr	w1, [x22]
	mov	x0, x19
	blr	x8
	mov	w0, #2
	bl	_udelay
	cmp	w21, #1
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
	ldr	w8, [x23]
	tst	w8, w0
	cset	w8, eq
	str	w8, [x19]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #16]
	mov	x0, x19
	mov	w1, #0
	blr	x8
	mov	w0, #2
	bl	_udelay
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
	cmp	w21, #1
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23]
	tst	w8, w0
	cset	w8, eq
	str	w8, [x19, #4]
	b	LBB0_3
LBB0_8:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #16]
Lloh6:
	adrp	x9, _TEA575X_WREN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TEA575X_WREN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
LBB0_10:
	mov	x0, x20
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TEA575X_CLK,4,2                ; @TEA575X_CLK
	.comm	_TEA575X_MOST,4,2               ; @TEA575X_MOST
	.comm	_TEA575X_DATA,4,2               ; @TEA575X_DATA
	.comm	_TEA575X_WREN,4,2               ; @TEA575X_WREN
	.no_dead_strip	_snd_tea575x_read
.subsections_via_symbols
