	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fcu_read_1
_fcu_read_1:                            ## @fcu_read_1
	.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	$88, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	%edx, -100(%rbp)
	movq	_IIC_M_WR@GOTPCREL(%rip), %rax
	movq	_IIC_M_NOSTOP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%esi, -96(%rbp)
	movl	%ecx, -92(%rbp)
	movq	$1, -88(%rbp)
	leaq	-100(%rbp), %rax
	movl	%eax, -80(%rbp)
	movl	%esi, -72(%rbp)
	movq	_IIC_M_RD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	$1, -64(%rbp)
	leaq	-48(%rbp), %rax
	movl	%eax, -56(%rbp)
	leaq	-96(%rbp), %rsi
	movl	$2, %edx
	callq	_iicbus_transfer
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_hz@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_pause
	leaq	-96(%rbp), %rsi
	movl	%ebx, %edi
	movl	$2, %edx
	callq	_iicbus_transfer
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_pause
	leaq	-96(%rbp), %rsi
	movl	%ebx, %edi
	movl	$2, %edx
	callq	_iicbus_transfer
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	movl	(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_pause
	leaq	-96(%rbp), %rsi
	movl	%ebx, %edi
	movl	$2, %edx
	callq	_iicbus_transfer
	testl	%eax, %eax
	je	LBB0_2
## %bb.5:
	movl	(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_pause
	leaq	-96(%rbp), %rsi
	movl	%ebx, %edi
	movl	$2, %edx
	callq	_iicbus_transfer
	testl	%eax, %eax
	je	LBB0_2
## %bb.6:
	movl	(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_pause
	leaq	-96(%rbp), %rsi
	movl	%ebx, %edi
	movl	$2, %edx
	callq	_iicbus_transfer
	testl	%eax, %eax
	je	LBB0_2
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	callq	_device_printf
	movl	$-1, %eax
	jmp	LBB0_8
LBB0_2:
	movl	-48(%rbp), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	addq	$88, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IIC_M_WR,4,2                   ## @IIC_M_WR
	.comm	_IIC_M_NOSTOP,4,2               ## @IIC_M_NOSTOP
	.comm	_IIC_M_RD,4,2                   ## @IIC_M_RD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"iicbus read failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"fcu_read_1"

	.comm	_hz,4,2                         ## @hz
	.no_dead_strip	_fcu_read_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fcu_read_1
_fcu_read_1:                            ; @fcu_read_1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x3
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	str	w2, [sp, #4]
Lloh3:
	adrp	x8, _IIC_M_WR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IIC_M_WR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _IIC_M_NOSTOP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IIC_M_NOSTOP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	stp	w1, w8, [sp, #8]
	mov	w8, #1
	str	x8, [sp, #16]
	add	x9, sp, #4
Lloh9:
	adrp	x10, _IIC_M_RD@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IIC_M_RD@GOTPAGEOFF]
	str	w9, [sp, #24]
Lloh11:
	ldr	w9, [x10]
	stp	w1, w9, [sp, #32]
	str	x8, [sp, #40]
	add	x8, sp, #56
	str	w8, [sp, #48]
	add	x1, sp, #8
	mov	w2, #2
	bl	_iicbus_transfer
	cbz	w0, LBB0_7
; %bb.1:
Lloh12:
	adrp	x21, _hz@GOTPAGE
Lloh13:
	ldr	x21, [x21, _hz@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pause
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #2
	bl	_iicbus_transfer
	cbz	w0, LBB0_7
; %bb.2:
	ldr	w1, [x21]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pause
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #2
	bl	_iicbus_transfer
	cbz	w0, LBB0_7
; %bb.3:
	ldr	w1, [x21]
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pause
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #2
	bl	_iicbus_transfer
	cbz	w0, LBB0_7
; %bb.4:
	ldr	w1, [x21]
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pause
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #2
	bl	_iicbus_transfer
	cbz	w0, LBB0_7
; %bb.5:
	ldr	w1, [x21]
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pause
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #2
	bl	_iicbus_transfer
	cbz	w0, LBB0_7
; %bb.6:
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_device_printf
	mov	w0, #-1
	b	LBB0_8
LBB0_7:
	mov	w0, #0
	ldr	w8, [sp, #56]
	str	w8, [x19]
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_IIC_M_WR,4,2                   ; @IIC_M_WR
	.comm	_IIC_M_NOSTOP,4,2               ; @IIC_M_NOSTOP
	.comm	_IIC_M_RD,4,2                   ; @IIC_M_RD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"iicbus read failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"fcu_read_1"

	.comm	_hz,4,2                         ; @hz
	.no_dead_strip	_fcu_read_1
.subsections_via_symbols
