	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx24117_readregN
_cx24117_readregN:                      ## @cx24117_readregN
	.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
	subq	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movl	%esi, -84(%rbp)
	movl	$1, -80(%rbp)
	leaq	-84(%rbp), %rax
	movq	%rax, -72(%rbp)
	movl	$0, -64(%rbp)
	movq	8(%rdi), %rax
	movl	8(%rax), %esi
	movl	%esi, -60(%rbp)
	movl	%ecx, -56(%rbp)
	movq	%rdx, -48(%rbp)
	movq	_I2C_M_RD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -40(%rbp)
	movl	%esi, -36(%rbp)
	movq	(%rax), %rdi
	leaq	-80(%rbp), %rsi
	movl	$2, %edx
	callq	_i2c_transfer
	movl	%eax, %ebx
	xorl	%eax, %eax
	testl	%ebx, %ebx
	jns	LBB0_2
## %bb.1:
	movq	8(%r14), %rax
	movq	(%rax), %rdi
	movq	_KBUILD_MODNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
	movl	-84(%rbp), %r9d
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %r8d
	callq	_dev_warn
	movl	%ebx, %eax
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_4
## %bb.3:
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: demod%d i2c rd err(%d) @0x%x\n"

	.comm	_KBUILD_MODNAME,4,2             ## @KBUILD_MODNAME
	.no_dead_strip	_cx24117_readregN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx24117_readregN
_cx24117_readregN:                      ; @cx24117_readregN
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	mov	w8, #1
	stp	w1, w8, [sp, #4]
	add	x8, sp, #4
	str	x8, [sp, #16]
	str	wzr, [sp, #24]
	ldr	x8, [x0, #8]
	ldr	w9, [x8, #8]
	stp	w9, w3, [sp, #28]
	str	x2, [sp, #40]
Lloh3:
	adrp	x10, _I2C_M_RD@GOTPAGE
Lloh4:
	ldr	x10, [x10, _I2C_M_RD@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	stp	w10, w9, [sp, #48]
	ldr	x0, [x8]
	add	x1, sp, #8
	mov	w2, #2
	bl	_i2c_transfer
	mov	x20, x0
	mov	w0, #0
	tbz	w20, #31, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
Lloh6:
	adrp	x8, _KBUILD_MODNAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KBUILD_MODNAME@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	ldr	w3, [x19]
	ldr	w5, [sp, #4]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x4, x20
	bl	_dev_warn
	mov	x0, x20
LBB0_2:
	ldur	x8, [x29, #-24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: demod%d i2c rd err(%d) @0x%x\n"

	.comm	_KBUILD_MODNAME,4,2             ; @KBUILD_MODNAME
	.no_dead_strip	_cx24117_readregN
.subsections_via_symbols
