	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_recover_bus
_i2c_recover_bus:                       ## @i2c_recover_bus
	.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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_fdt_pinctrl_configure
	movq	%rbx, -24(%rbp)
	movq	_i2c_recover_getsda@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_i2c_recover_setsda@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_i2c_recover_getscl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_i2c_recover_setscl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	leaq	-40(%rbp), %rdi
	callq	_iic_recover_bus
	movl	%eax, %r14d
	movl	8(%rbx), %edi
	xorl	%esi, %esi
	callq	_fdt_pinctrl_configure
	jmp	LBB0_3
LBB0_1:
	xorl	%r14d, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_i2c_recover_getsda,4,2         ## @i2c_recover_getsda
	.comm	_i2c_recover_setsda,4,2         ## @i2c_recover_setsda
	.comm	_i2c_recover_getscl,4,2         ## @i2c_recover_getscl
	.comm	_i2c_recover_setscl,4,2         ## @i2c_recover_setscl
	.no_dead_strip	_i2c_recover_bus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_recover_bus
_i2c_recover_bus:                       ; @i2c_recover_bus
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	ldr	x1, [x0]
	cbz	x1, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_fdt_pinctrl_configure
	str	x19, [sp, #24]
Lloh0:
	adrp	x8, _i2c_recover_getsda@GOTPAGE
Lloh1:
	ldr	x8, [x8, _i2c_recover_getsda@GOTPAGEOFF]
Lloh2:
	adrp	x9, _i2c_recover_setsda@GOTPAGE
Lloh3:
	ldr	x9, [x9, _i2c_recover_setsda@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #16]
Lloh6:
	adrp	x8, _i2c_recover_getscl@GOTPAGE
Lloh7:
	ldr	x8, [x8, _i2c_recover_getscl@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _i2c_recover_setscl@GOTPAGE
Lloh10:
	ldr	x9, [x9, _i2c_recover_setscl@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
	add	x0, sp, #8
	bl	_iic_recover_bus
	mov	x20, x0
	ldr	w0, [x19, #8]
	mov	x1, #0
	bl	_fdt_pinctrl_configure
	b	LBB0_3
LBB0_2:
	mov	w20, #0
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_i2c_recover_getsda,4,2         ; @i2c_recover_getsda
	.comm	_i2c_recover_setsda,4,2         ; @i2c_recover_setsda
	.comm	_i2c_recover_getscl,4,2         ; @i2c_recover_getscl
	.comm	_i2c_recover_setscl,4,2         ; @i2c_recover_setscl
	.no_dead_strip	_i2c_recover_bus
.subsections_via_symbols
