	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_imx_init_recovery_info
_i2c_imx_init_recovery_info:            ## @i2c_imx_init_recovery_info
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_devm_pinctrl_get
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
LBB0_11:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	movq	24(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_2:
	movq	24(%rbx), %rdi
	movq	_PINCTRL_STATE_DEFAULT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_pinctrl_lookup_state
	movq	%rax, 16(%rbx)
	movq	24(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_pinctrl_lookup_state
	movq	%rax, 8(%rbx)
	movq	_GPIOD_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 48(%rbx)
	movq	_GPIOD_OUT_HIGH_OPEN_DRAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 56(%rbx)
	movq	48(%rbx), %rdi
	callq	_PTR_ERR
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	subl	(%r13), %r15d
	cmpl	%r15d, %eax
	je	LBB0_10
## %bb.3:
	movq	56(%rbx), %rdi
	callq	_PTR_ERR
	subl	(%r13), %r12d
	movl	%r12d, %r15d
	cmpl	%r12d, %eax
	je	LBB0_10
## %bb.4:
	movq	48(%rbx), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:
	movq	56(%rbx), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	16(%rbx), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	8(%rbx), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
LBB0_8:
	leaq	L_.str.4(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	32(%rbx), %r12
	cmpq	$0, 48(%rbx)
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.6(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.5(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_i2c_imx_prepare_recovery@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_i2c_imx_unprepare_recovery@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_i2c_generic_scl_recovery@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	%r12, (%rbx)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't get pinctrl, bus recovery not supported\n"

	.comm	_PINCTRL_STATE_DEFAULT,8,3      ## @PINCTRL_STATE_DEFAULT
L_.str.1:                               ## @.str.1
	.asciz	"gpio"

L_.str.2:                               ## @.str.2
	.asciz	"sda"

	.comm	_GPIOD_IN,4,2                   ## @GPIOD_IN
L_.str.3:                               ## @.str.3
	.asciz	"scl"

	.comm	_GPIOD_OUT_HIGH_OPEN_DRAIN,4,2  ## @GPIOD_OUT_HIGH_OPEN_DRAIN
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.4:                               ## @.str.4
	.asciz	"recovery information incomplete\n"

L_.str.5:                               ## @.str.5
	.asciz	"using scl%s for recovery\n"

L_.str.6:                               ## @.str.6
	.asciz	",sda"

L_.str.7:                               ## @.str.7
	.space	1

	.comm	_i2c_imx_prepare_recovery,4,2   ## @i2c_imx_prepare_recovery
	.comm	_i2c_imx_unprepare_recovery,4,2 ## @i2c_imx_unprepare_recovery
	.comm	_i2c_generic_scl_recovery,4,2   ## @i2c_generic_scl_recovery
	.no_dead_strip	_i2c_imx_init_recovery_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_imx_init_recovery_info
_i2c_imx_init_recovery_info:            ; @i2c_imx_init_recovery_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_devm_pinctrl_get
	str	x0, [x19, #24]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_IS_ERR
	cbz	x0, LBB0_3
LBB0_2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	ldr	x0, [x19, #24]
	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
	add	sp, sp, #64
	b	_PTR_ERR
LBB0_3:
	ldr	x0, [x19, #24]
Lloh2:
	adrp	x8, _PINCTRL_STATE_DEFAULT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PINCTRL_STATE_DEFAULT@GOTPAGEOFF]
Lloh4:
	ldr	x1, [x8]
	bl	_pinctrl_lookup_state
	str	x0, [x19, #16]
	ldr	x0, [x19, #24]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_pinctrl_lookup_state
	str	x0, [x19, #8]
Lloh7:
	adrp	x8, _GPIOD_IN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GPIOD_IN@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_devm_gpiod_get
	str	x0, [x19, #48]
Lloh12:
	adrp	x8, _GPIOD_OUT_HIGH_OPEN_DRAIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GPIOD_OUT_HIGH_OPEN_DRAIN@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_devm_gpiod_get
	str	x0, [x19, #56]
	ldr	x0, [x19, #48]
	bl	_PTR_ERR
Lloh17:
	adrp	x21, _EPROBE_DEFER@GOTPAGE
Lloh18:
	ldr	x21, [x21, _EPROBE_DEFER@GOTPAGEOFF]
	ldr	w8, [x21]
	cmn	w0, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	x0, [x19, #56]
	bl	_PTR_ERR
	ldr	w8, [x21]
	cmn	w0, w8
	b.ne	LBB0_6
LBB0_5:
	neg	w0, w8
	b	LBB0_11
LBB0_6:
	ldr	x0, [x19, #48]
	bl	_IS_ERR
	cbnz	x0, LBB0_10
; %bb.7:
	ldr	x0, [x19, #56]
	bl	_IS_ERR
	cbnz	x0, LBB0_10
; %bb.8:
	ldr	x0, [x19, #16]
	bl	_IS_ERR
	cbnz	x0, LBB0_10
; %bb.9:
	ldr	x0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_12
LBB0_10:
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	mov	w0, #0
LBB0_11:
	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
	add	sp, sp, #64
	ret
LBB0_12:
	add	x21, x19, #32
	ldr	x8, [x19, #48]
Lloh21:
	adrp	x9, l_.str.6@PAGE
Lloh22:
	add	x9, x9, l_.str.6@PAGEOFF
Lloh23:
	adrp	x10, l_.str.7@PAGE
Lloh24:
	add	x10, x10, l_.str.7@PAGEOFF
	cmp	x8, #0
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	mov	w0, #0
Lloh27:
	adrp	x8, _i2c_imx_prepare_recovery@GOTPAGE
Lloh28:
	ldr	x8, [x8, _i2c_imx_prepare_recovery@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x19, #40]
Lloh30:
	adrp	x8, _i2c_imx_unprepare_recovery@GOTPAGE
Lloh31:
	ldr	x8, [x8, _i2c_imx_unprepare_recovery@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _i2c_generic_scl_recovery@GOTPAGE
Lloh34:
	ldr	x9, [x9, _i2c_generic_scl_recovery@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #32]
	str	x21, [x19]
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't get pinctrl, bus recovery not supported\n"

	.comm	_PINCTRL_STATE_DEFAULT,8,3      ; @PINCTRL_STATE_DEFAULT
l_.str.1:                               ; @.str.1
	.asciz	"gpio"

l_.str.2:                               ; @.str.2
	.asciz	"sda"

	.comm	_GPIOD_IN,4,2                   ; @GPIOD_IN
l_.str.3:                               ; @.str.3
	.asciz	"scl"

	.comm	_GPIOD_OUT_HIGH_OPEN_DRAIN,4,2  ; @GPIOD_OUT_HIGH_OPEN_DRAIN
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.4:                               ; @.str.4
	.asciz	"recovery information incomplete\n"

l_.str.5:                               ; @.str.5
	.asciz	"using scl%s for recovery\n"

l_.str.6:                               ; @.str.6
	.asciz	",sda"

l_.str.7:                               ; @.str.7
	.space	1

	.comm	_i2c_imx_prepare_recovery,4,2   ; @i2c_imx_prepare_recovery
	.comm	_i2c_imx_unprepare_recovery,4,2 ; @i2c_imx_unprepare_recovery
	.comm	_i2c_generic_scl_recovery,4,2   ; @i2c_generic_scl_recovery
	.no_dead_strip	_i2c_imx_init_recovery_info
.subsections_via_symbols
