	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st_i2c_probe
_st_i2c_probe:                          ## @st_i2c_probe
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	(%rdi), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$88, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r14
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rax, %r12
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 84(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movl	84(%r14), %edi
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_5:
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_irq_of_parse_and_map
	movl	%eax, 72(%r14)
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_clk_get_by_name
	movl	%eax, 80(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movl	80(%r14), %edi
	jmp	LBB0_3
LBB0_10:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_11:
	movq	_I2C_MODE_STANDARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%r14)
	leaq	L_.str.3(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	jne	LBB0_14
## %bb.12:
	cmpl	$400000, -44(%rbp)              ## imm = 0x61A80
	jne	LBB0_14
## %bb.13:
	movq	_I2C_MODE_FAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%r14)
LBB0_14:
	movq	%r13, (%r14)
	movl	72(%r14), %esi
	movq	_st_i2c_isr_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	8(%r13), %r9d
	movq	%r14, (%rsp)
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	%eax, %ebx
	movl	72(%r14), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_6
LBB0_16:
	movq	(%r14), %rdi
	callq	_pinctrl_pm_select_default_state
	movq	(%r14), %rdi
	callq	_pinctrl_pm_select_idle_state
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_st_i2c_of_get_deglitch
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.17:
	leaq	16(%r14), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_i2c_set_adapdata
	movl	20(%r14), %edi
	leaq	L_.str.5(%rip), %rdx
	movl	$4, %esi
	movq	%r12, %rcx
	callq	_snprintf
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r14)
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	movl	%eax, 16(%r14)
	movq	$0, 56(%r14)
	movq	_st_i2c_algo@GOTPCREL(%rip), %rax
	movq	%rax, 48(%r14)
	movq	_st_i2c_recovery_info@GOTPCREL(%rip), %rax
	movq	%rax, 40(%r14)
	movq	%r13, 32(%r14)
	movq	(%r13), %rax
	movq	%rax, 24(%r14)
	movq	%r14, %rdi
	addq	$8, %rdi
	callq	_init_completion
	movq	%rbx, %rdi
	callq	_i2c_add_adapter
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.18:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	(%r14), %rdi
	movl	20(%r14), %edx
	leaq	L_.str.6(%rip), %rsi
	callq	_dev_info
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IRQ missing or invalid\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"ssc"

L_.str.2:                               ## @.str.2
	.asciz	"Unable to request clock\n"

	.comm	_I2C_MODE_STANDARD,4,2          ## @I2C_MODE_STANDARD
L_.str.3:                               ## @.str.3
	.asciz	"clock-frequency"

	.comm	_I2C_MODE_FAST,4,2              ## @I2C_MODE_FAST
	.comm	_st_i2c_isr_thread,4,2          ## @st_i2c_isr_thread
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.4:                               ## @.str.4
	.asciz	"Failed to request irq %i\n"

L_.str.5:                               ## @.str.5
	.asciz	"ST I2C(%pa)"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_HZ,4,2                         ## @HZ
	.comm	_st_i2c_algo,4,2                ## @st_i2c_algo
	.comm	_st_i2c_recovery_info,4,2       ## @st_i2c_recovery_info
L_.str.6:                               ## @.str.6
	.asciz	"%s initialized\n"

	.no_dead_strip	_st_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st_i2c_probe
_st_i2c_probe:                          ; @st_i2c_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #88
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	bl	_devm_ioremap_resource
	str	w0, [x20, #84]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.2:
	ldr	w0, [x20, #84]
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_PTR_ERR
LBB0_4:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_6:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	mov	x0, x21
	mov	w1, #0
	bl	_irq_of_parse_and_map
	str	w0, [x20, #72]
	cbz	w0, LBB0_10
; %bb.8:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_of_clk_get_by_name
	str	w0, [x20, #80]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.9:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [x20, #80]
	b	LBB0_3
LBB0_10:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_11:
Lloh16:
	adrp	x8, _I2C_MODE_STANDARD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _I2C_MODE_STANDARD@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x20, #76]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #12
	mov	x0, x21
	bl	_of_property_read_u32
	cbnz	w0, LBB0_14
; %bb.12:
	ldr	w8, [sp, #12]
	sub	w8, w8, #97, lsl #12            ; =397312
	cmp	w8, #2688
	b.ne	LBB0_14
; %bb.13:
Lloh21:
	adrp	x8, _I2C_MODE_FAST@GOTPAGE
Lloh22:
	ldr	x8, [x8, _I2C_MODE_FAST@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x20, #76]
LBB0_14:
	str	x19, [x20]
Lloh24:
	adrp	x8, _st_i2c_isr_thread@GOTPAGE
Lloh25:
	ldr	x8, [x8, _st_i2c_isr_thread@GOTPAGEOFF]
	ldr	w1, [x20, #72]
Lloh26:
	ldr	w3, [x8]
Lloh27:
	adrp	x8, _IRQF_ONESHOT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh29:
	ldr	w4, [x8]
	ldr	w5, [x19, #8]
	mov	x0, x19
	mov	x2, #0
	mov	x6, x20
	bl	_devm_request_threaded_irq
	cbz	w0, LBB0_16
; %bb.15:
	mov	x23, x0
	ldr	w8, [x20, #72]
	str	x8, [sp]
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_6
LBB0_16:
	ldr	x0, [x20]
	bl	_pinctrl_pm_select_default_state
	ldr	x0, [x20]
	bl	_pinctrl_pm_select_idle_state
	mov	x0, x21
	mov	x1, x20
	bl	_st_i2c_of_get_deglitch
	mov	x23, x0
	cbnz	w0, LBB0_6
; %bb.17:
	add	x21, x20, #16
	mov	x0, x21
	mov	x1, x20
	bl	_i2c_set_adapdata
	ldr	w0, [x20, #20]
Lloh32:
	adrp	x2, l_.str.5@PAGE
Lloh33:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	w1, #4
	mov	x3, x22
	bl	_snprintf
Lloh34:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	str	w8, [x20, #64]
Lloh37:
	adrp	x8, _HZ@GOTPAGE
Lloh38:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	lsl	w8, w8, #1
	str	w8, [x20, #16]
	str	xzr, [x20, #56]
Lloh40:
	adrp	x8, _st_i2c_algo@GOTPAGE
Lloh41:
	ldr	x8, [x8, _st_i2c_algo@GOTPAGEOFF]
Lloh42:
	adrp	x9, _st_i2c_recovery_info@GOTPAGE
Lloh43:
	ldr	x9, [x9, _st_i2c_recovery_info@GOTPAGEOFF]
	stp	x9, x8, [x20, #40]
	ldr	x8, [x19]
	stp	x8, x19, [x20, #24]
	add	x0, x20, #8
	bl	_init_completion
	mov	x0, x21
	bl	_i2c_add_adapter
	mov	x23, x0
	cbnz	w0, LBB0_6
; %bb.18:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	ldr	x0, [x20]
	ldr	w2, [x20, #20]
Lloh44:
	adrp	x1, l_.str.6@PAGE
Lloh45:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_dev_info
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IRQ missing or invalid\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"ssc"

l_.str.2:                               ; @.str.2
	.asciz	"Unable to request clock\n"

	.comm	_I2C_MODE_STANDARD,4,2          ; @I2C_MODE_STANDARD
l_.str.3:                               ; @.str.3
	.asciz	"clock-frequency"

	.comm	_I2C_MODE_FAST,4,2              ; @I2C_MODE_FAST
	.comm	_st_i2c_isr_thread,4,2          ; @st_i2c_isr_thread
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.4:                               ; @.str.4
	.asciz	"Failed to request irq %i\n"

l_.str.5:                               ; @.str.5
	.asciz	"ST I2C(%pa)"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_HZ,4,2                         ; @HZ
	.comm	_st_i2c_algo,4,2                ; @st_i2c_algo
	.comm	_st_i2c_recovery_info,4,2       ; @st_i2c_recovery_info
l_.str.6:                               ; @.str.6
	.asciz	"%s initialized\n"

	.no_dead_strip	_st_i2c_probe
.subsections_via_symbols
