	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_i2c_probe
_meson_i2c_probe:                       ## @meson_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$80, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_i2c_parse_fw_timings
	movq	%rbx, 72(%r14)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	leaq	68(%r14), %rdi
	callq	_spin_lock_init
	leaq	64(%r14), %rdi
	callq	_init_completion
	movq	%rbx, %rdi
	callq	_of_device_get_match_data
	movq	%rax, 56(%r14)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movl	%eax, (%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movl	(%r14), %edi
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_17
LBB0_4:
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 48(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movl	48(%r14), %edi
LBB0_6:
	callq	_PTR_ERR
	movl	%eax, %r15d
LBB0_17:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_8
## %bb.10:
	movq	_meson_i2c_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	%r14, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	js	LBB0_11
## %bb.12:
	movl	(%r14), %edi
	callq	_clk_prepare
	testl	%eax, %eax
	js	LBB0_13
## %bb.14:
	movq	%r14, %r12
	addq	$8, %r12
	movl	44(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movq	_meson_i2c_algorithm@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r14)
	movq	%rbx, 24(%r14)
	movq	%r13, 16(%r14)
	movq	%r14, 8(%r14)
	movq	_REG_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REG_CTRL_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_meson_i2c_set_mask
	movq	%r12, %rdi
	callq	_i2c_add_adapter
	testl	%eax, %eax
	js	LBB0_15
## %bb.16:
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	callq	_meson_i2c_set_clk_div
	jmp	LBB0_17
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_9
LBB0_11:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_9
LBB0_13:
	movl	%eax, %r15d
	leaq	L_.str.3(%rip), %rsi
LBB0_9:
	movq	%rbx, %rdi
	callq	_dev_err
	jmp	LBB0_17
LBB0_15:
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_clk_unprepare
	movl	%ebx, %r15d
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't get device clock\n"

	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
L_.str.1:                               ## @.str.1
	.asciz	"can't find IRQ\n"

	.comm	_meson_i2c_irq,4,2              ## @meson_i2c_irq
L_.str.2:                               ## @.str.2
	.asciz	"can't request IRQ\n"

L_.str.3:                               ## @.str.3
	.asciz	"can't prepare clock\n"

L_.str.4:                               ## @.str.4
	.asciz	"Meson I2C adapter"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_meson_i2c_algorithm,4,2        ## @meson_i2c_algorithm
	.comm	_REG_CTRL,4,2                   ## @REG_CTRL
	.comm	_REG_CTRL_START,4,2             ## @REG_CTRL_START
	.no_dead_strip	_meson_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_i2c_probe
_meson_i2c_probe:                       ; @meson_i2c_probe
	.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, x0
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #80
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1
	bl	_i2c_parse_fw_timings
	str	x20, [x19, #72]
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	add	x0, x19, #68
	bl	_spin_lock_init
	add	x0, x19, #64
	bl	_init_completion
	mov	x0, x20
	bl	_of_device_get_match_data
	str	x0, [x19, #56]
	mov	x0, x20
	mov	x1, #0
	bl	_devm_clk_get
	str	w0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	w0, [x19]
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_4:
Lloh8:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x20
	bl	_devm_ioremap_resource
	str	w0, [x19, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.5:
	ldr	w0, [x19, #48]
LBB0_6:
	bl	_PTR_ERR
	mov	x21, x0
LBB0_7:
	mov	x0, x21
	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_8:
	mov	x0, x20
	mov	w1, #0
	bl	_platform_get_irq
	mov	x21, x0
	tbnz	w0, #31, LBB0_13
; %bb.9:
Lloh11:
	adrp	x8, _meson_i2c_irq@GOTPAGE
Lloh12:
	ldr	x8, [x8, _meson_i2c_irq@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	x4, #0
	mov	x5, x19
	bl	_devm_request_irq
	tbnz	w0, #31, LBB0_14
; %bb.10:
	ldr	w0, [x19]
	bl	_clk_prepare
	tbnz	w0, #31, LBB0_15
; %bb.11:
	add	x21, x19, #8
	ldr	w0, [x19, #44]
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #4
	bl	_strlcpy
Lloh16:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x19, #40]
Lloh19:
	adrp	x8, _meson_i2c_algorithm@GOTPAGE
Lloh20:
	ldr	x8, [x8, _meson_i2c_algorithm@GOTPAGEOFF]
	stp	x20, x8, [x19, #24]
	stp	x19, x22, [x19, #8]
Lloh21:
	adrp	x8, _REG_CTRL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _REG_CTRL@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _REG_CTRL_START@GOTPAGE
Lloh25:
	ldr	x8, [x8, _REG_CTRL_START@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_meson_i2c_set_mask
	mov	x0, x21
	bl	_i2c_add_adapter
	tbnz	w0, #31, LBB0_17
; %bb.12:
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_meson_i2c_set_clk_div
	mov	w21, #0
	b	LBB0_7
LBB0_13:
Lloh27:
	adrp	x1, l_.str.1@PAGE
Lloh28:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_14:
	mov	x21, x0
Lloh29:
	adrp	x1, l_.str.2@PAGE
Lloh30:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_15:
	mov	x21, x0
Lloh31:
	adrp	x1, l_.str.3@PAGE
Lloh32:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_16:
	mov	x0, x20
	bl	_dev_err
	b	LBB0_7
LBB0_17:
	mov	x21, x0
	ldr	w0, [x19]
	bl	_clk_unprepare
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't get device clock\n"

	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
l_.str.1:                               ; @.str.1
	.asciz	"can't find IRQ\n"

	.comm	_meson_i2c_irq,4,2              ; @meson_i2c_irq
l_.str.2:                               ; @.str.2
	.asciz	"can't request IRQ\n"

l_.str.3:                               ; @.str.3
	.asciz	"can't prepare clock\n"

l_.str.4:                               ; @.str.4
	.asciz	"Meson I2C adapter"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_meson_i2c_algorithm,4,2        ; @meson_i2c_algorithm
	.comm	_REG_CTRL,4,2                   ; @REG_CTRL
	.comm	_REG_CTRL_START,4,2             ; @REG_CTRL_START
	.no_dead_strip	_meson_i2c_probe
.subsections_via_symbols
