	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx231xx_i2c_recv_bytes
_cx231xx_i2c_recv_bytes:                ## @cx231xx_i2c_recv_bytes
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	(%rdi), %rdi
	movq	8(%rdi), %r14
	cmpl	$1, (%rdi)
	movl	(%rsi), %eax
	jne	LBB0_14
## %bb.1:
	cmpl	$97, %eax
	jne	LBB0_14
## %bb.2:
	movq	(%r14), %rcx
	movq	_TUNER_XC5000@GOTPCREL(%rip), %rdx
	movl	$97, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_14
## %bb.3:
	movl	4(%r15), %ecx
	cmpl	$1, %ecx
	je	LBB0_6
## %bb.4:
	xorl	%eax, %eax
	cmpl	$2, %ecx
	jne	LBB0_7
## %bb.5:
	movq	8(%r15), %rdx
	movl	(%rdx), %eax
	shll	$8, %eax
	orl	4(%rdx), %eax
LBB0_7:
	cmpq	$0, 32(%r14)
	jne	LBB0_8
	jmp	LBB0_13
LBB0_14:
	movl	%eax, -56(%rbp)
	movl	16(%r15), %eax
	movl	%eax, -32(%rbp)
	movq	$0, -52(%rbp)
	movl	4(%r15), %eax
	movl	%eax, -44(%rbp)
	movq	8(%r15), %rax
LBB0_15:
	movq	%rax, -40(%rbp)
	leaq	-56(%rbp), %rsi
	callq	*24(%r14)
	movl	%eax, %ebx
	sarl	$31, %ebx
	andl	%eax, %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	8(%r15), %rax
	movl	(%rax), %eax
	cmpq	$0, 32(%r14)
	je	LBB0_13
LBB0_8:
	cmpl	$4, %eax
	je	LBB0_12
## %bb.9:
	cmpl	$9, %eax
	jne	LBB0_13
## %bb.10:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintk1
	movq	8(%r15), %rax
	movl	$0, (%rax)
	cmpl	$2, 4(%r15)
	jne	LBB0_16
## %bb.11:
	movl	$0, 4(%rax)
	jmp	LBB0_16
LBB0_13:
	movl	$97, -56(%rbp)
	movl	16(%r15), %eax
	movl	%eax, -32(%rbp)
	movl	%ecx, -52(%rbp)
	movq	8(%r15), %rax
	movl	(%rax), %edx
	shll	$8, %edx
	orl	4(%rax), %edx
	movl	%edx, -48(%rbp)
	movl	%ecx, -44(%rbp)
	jmp	LBB0_15
LBB0_12:
	movq	8(%r15), %rax
	movl	(%rax), %r8d
	shll	$8, %r8d
	orl	4(%rax), %r8d
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movl	$97, %edx
	xorl	%eax, %eax
	callq	_dprintk1
	movq	8(%r15), %rdx
	movl	(%r15), %esi
	movl	4(%r15), %ecx
	movq	%r14, %rdi
	callq	*8(%r14)
	movq	16(%r14), %rax
	movq	8(%r15), %rdx
	movl	(%r15), %esi
	movl	4(%r15), %ecx
	movq	%r14, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TUNER_XC5000,8,3               ## @TUNER_XC5000
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GPIO R E A D: Special case BUSY check \n"

L_.str.1:                               ## @.str.1
	.asciz	"GPIO R E A D: addr 0x%x, len %d, saddr 0x%x\n"

	.no_dead_strip	_cx231xx_i2c_recv_bytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx231xx_i2c_recv_bytes
_cx231xx_i2c_recv_bytes:                ; @cx231xx_i2c_recv_bytes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	ldr	x0, [x0]
	ldr	x19, [x0, #8]
	ldr	w9, [x0]
	ldr	w8, [x1]
	cmp	w9, #1
	b.ne	LBB0_7
; %bb.1:
	cmp	w8, #97
	b.ne	LBB0_7
; %bb.2:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _TUNER_XC5000@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TUNER_XC5000@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.eq	LBB0_10
; %bb.4:
	cmp	w8, #2
	b.ne	LBB0_11
; %bb.5:
	ldr	x9, [x20, #8]
	ldp	w10, w9, [x9]
	orr	w9, w9, w10, lsl #8
	ldr	x10, [x19, #32]
	cbnz	x10, LBB0_12
	b	LBB0_16
LBB0_6:
	mov	w8, #97
LBB0_7:
	ldr	w9, [x20, #16]
	str	w9, [sp, #56]
	stp	w8, wzr, [sp, #32]
	ldr	w8, [x20, #4]
	stp	wzr, w8, [sp, #40]
	ldr	x9, [x20, #8]
LBB0_8:
	str	x9, [sp, #48]
	ldr	x8, [x19, #24]
	add	x1, sp, #32
	blr	x8
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_10:
	ldr	x9, [x20, #8]
	ldr	w9, [x9]
	ldr	x10, [x19, #32]
	cbnz	x10, LBB0_12
	b	LBB0_16
LBB0_11:
	mov	w9, #0
	ldr	x10, [x19, #32]
	cbz	x10, LBB0_16
LBB0_12:
	cmp	w9, #4
	b.eq	LBB0_17
; %bb.13:
	cmp	w9, #9
	b.ne	LBB0_16
; %bb.14:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_dprintk1
	mov	w0, #0
	ldr	x8, [x20, #8]
	str	wzr, [x8]
	ldr	w9, [x20, #4]
	cmp	w9, #2
	b.ne	LBB0_9
; %bb.15:
	mov	w0, #0
	str	wzr, [x8, #4]
	b	LBB0_9
LBB0_16:
	mov	w9, #97
	ldr	w10, [x20, #16]
	str	w10, [sp, #56]
	stp	w9, w8, [sp, #32]
	ldr	x9, [x20, #8]
	ldp	w10, w11, [x9]
	orr	w10, w11, w10, lsl #8
	stp	w10, w8, [sp, #40]
	b	LBB0_8
LBB0_17:
	ldr	x9, [x20, #8]
	ldp	w10, w9, [x9]
	orr	w9, w9, w10, lsl #8
	stp	x8, x9, [sp, #8]
	mov	w9, #97
	str	x9, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_dprintk1
	ldr	x8, [x19, #8]
	ldr	x2, [x20, #8]
	ldp	w1, w3, [x20]
	mov	x0, x19
	blr	x8
	ldr	x4, [x19, #16]
	ldr	x2, [x20, #8]
	ldp	w1, w3, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	br	x4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_TUNER_XC5000,8,3               ; @TUNER_XC5000
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GPIO R E A D: Special case BUSY check \n"

l_.str.1:                               ; @.str.1
	.asciz	"GPIO R E A D: addr 0x%x, len %d, saddr 0x%x\n"

	.no_dead_strip	_cx231xx_i2c_recv_bytes
.subsections_via_symbols
