	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nmk_i2c_probe
_nmk_i2c_probe:                         ## @nmk_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, %r15
	movq	(%rdi), %r12
	movq	(%rsi), %r14
	movl	(%r14), %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$96, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r13
	movl	%ebx, %eax
	shrl	$31, %eax
	addl	%ebx, %eax
	sarl	%eax
	decl	%eax
	movq	%r12, %rbx
	movslq	%eax, %r12
	movq	%r14, 88(%r13)
	movq	%r15, 80(%r13)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_nmk_i2c_of_probe
	movq	(%r13), %rdx
	cmpq	%r12, %rdx
	movq	%rbx, %r14
	jle	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rcx
	callq	_dev_warn
	movq	%r12, (%r13)
LBB0_3:
	movq	8(%r13), %rdx
	cmpq	%r12, %rdx
	jle	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rcx
	callq	_dev_warn
	movq	%r12, 8(%r13)
LBB0_5:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_amba_set_drvdata
	leaq	8(%r15), %r12
	movl	8(%r15), %ebx
	movq	%r12, %rdi
	callq	_resource_size
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_devm_ioremap
	movl	%eax, 20(%r13)
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	movq	16(%r15), %rax
	movl	(%rax), %esi
	movl	%esi, 72(%r13)
	movq	_i2c_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DRIVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	movq	%r13, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:
	movl	%eax, %ebx
	movl	72(%r13), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_11
LBB0_8:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_10:
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movl	%eax, 16(%r13)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movl	16(%r13), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_14:
	movl	16(%r13), %edi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_11
LBB0_16:
	movq	%r13, %rdi
	callq	_init_hw
	movq	%r13, %rbx
	addq	$32, %rbx
	movq	%r14, 64(%r13)
	movq	%r15, 56(%r13)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r13)
	movq	_I2C_CLASS_DEPRECATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r13)
	movq	_nmk_i2c_algo@GOTPCREL(%rip), %rax
	movq	%rax, 40(%r13)
	movl	24(%r13), %edi
	callq	_msecs_to_jiffies
	movl	%eax, 36(%r13)
	movl	32(%r13), %edi
	leaq	L_.str.6(%rip), %rdx
	movl	$4, %esi
	movq	%r12, %rcx
	callq	_snprintf
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_i2c_set_adapdata
	movl	20(%r13), %ecx
	movl	32(%r13), %edx
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_info
	movq	%rbx, %rdi
	callq	_i2c_add_adapter
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	%eax, %ebx
	movl	16(%r13), %edi
	callq	_clk_disable_unprepare
	jmp	LBB0_11
LBB0_18:
	movq	%r15, %rdi
	callq	_pm_runtime_put
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot allocate memory\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"requested TX FIFO threshold %u, adjusted down to %u\n"

L_.str.2:                               ## @.str.2
	.asciz	"requested RX FIFO threshold %u, adjusted down to %u\n"

	.comm	_i2c_irq_handler,4,2            ## @i2c_irq_handler
	.comm	_DRIVER_NAME,4,2                ## @DRIVER_NAME
L_.str.3:                               ## @.str.3
	.asciz	"cannot claim the irq %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"could not get i2c clock\n"

L_.str.5:                               ## @.str.5
	.asciz	"can't prepare_enable clock\n"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_I2C_CLASS_DEPRECATED,4,2       ## @I2C_CLASS_DEPRECATED
	.comm	_nmk_i2c_algo,4,2               ## @nmk_i2c_algo
L_.str.6:                               ## @.str.6
	.asciz	"Nomadik I2C at %pR"

L_.str.7:                               ## @.str.7
	.asciz	"initialize %s on virtual base %p\n"

	.no_dead_strip	_nmk_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nmk_i2c_probe
_nmk_i2c_probe:                         ; @nmk_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]
	ldr	x23, [x1]
	ldr	w8, [x23]
	cmp	w8, #0
	cinc	w22, w8, lt
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #96
	bl	_devm_kzalloc
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	asr	w8, w22, #1
	sub	w8, w8, #1
	sxtw	x22, w8
	stp	x19, x23, [x0, #80]
	mov	x0, x21
	mov	x1, x20
	bl	_nmk_i2c_of_probe
	ldr	x2, [x20]
	cmp	x2, x22
	b.le	LBB0_3
; %bb.2:
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, x22
	bl	_dev_warn
	str	x22, [x20]
LBB0_3:
	ldr	x2, [x20, #8]
	cmp	x2, x22
	b.le	LBB0_5
; %bb.4:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x3, x22
	bl	_dev_warn
	str	x22, [x20, #8]
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_amba_set_drvdata
	mov	x22, x19
	ldr	w23, [x22, #8]!
	mov	x0, x22
	bl	_resource_size
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_devm_ioremap
	str	w0, [x20, #20]
	cbz	w0, LBB0_10
; %bb.6:
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	str	w1, [x20, #72]
Lloh7:
	adrp	x8, _i2c_irq_handler@GOTPAGE
Lloh8:
	ldr	x8, [x8, _i2c_irq_handler@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _DRIVER_NAME@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DRIVER_NAME@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	cbz	w0, LBB0_12
; %bb.7:
	mov	x23, x0
	ldr	w8, [x20, #72]
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_11
LBB0_9:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_10:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_11:
	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_12:
	mov	x0, x19
	mov	x1, #0
	bl	_devm_clk_get
	str	w0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.13:
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w0, [x20, #16]
	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_14:
	ldr	w0, [x20, #16]
	bl	_clk_prepare_enable
	cbz	w0, LBB0_16
; %bb.15:
	mov	x23, x0
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_8
LBB0_16:
	mov	x0, x20
	bl	_init_hw
	stp	x19, x21, [x20, #56]
Lloh24:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _I2C_CLASS_DEPRECATED@GOTPAGE
Lloh28:
	ldr	x9, [x9, _I2C_CLASS_DEPRECATED@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #48]
Lloh30:
	adrp	x8, _nmk_i2c_algo@GOTPAGE
Lloh31:
	ldr	x8, [x8, _nmk_i2c_algo@GOTPAGEOFF]
	str	x8, [x20, #40]
	ldr	w0, [x20, #24]
	bl	_msecs_to_jiffies
	str	w0, [x20, #36]
	mov	x21, x20
	ldr	w0, [x21, #32]!
Lloh32:
	adrp	x2, l_.str.6@PAGE
Lloh33:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	w1, #4
	mov	x3, x22
	bl	_snprintf
	mov	x0, x21
	mov	x1, x20
	bl	_i2c_set_adapdata
	ldr	w2, [x21]
	ldr	w3, [x20, #20]
Lloh34:
	adrp	x1, l_.str.7@PAGE
Lloh35:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	x0, x21
	bl	_i2c_add_adapter
	mov	x23, x0
	cbz	w0, LBB0_18
; %bb.17:
	ldr	w0, [x20, #16]
	bl	_clk_disable_unprepare
	b	LBB0_11
LBB0_18:
	mov	x0, x19
	bl	_pm_runtime_put
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot allocate memory\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"requested TX FIFO threshold %u, adjusted down to %u\n"

l_.str.2:                               ; @.str.2
	.asciz	"requested RX FIFO threshold %u, adjusted down to %u\n"

	.comm	_i2c_irq_handler,4,2            ; @i2c_irq_handler
	.comm	_DRIVER_NAME,4,2                ; @DRIVER_NAME
l_.str.3:                               ; @.str.3
	.asciz	"cannot claim the irq %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"could not get i2c clock\n"

l_.str.5:                               ; @.str.5
	.asciz	"can't prepare_enable clock\n"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_I2C_CLASS_DEPRECATED,4,2       ; @I2C_CLASS_DEPRECATED
	.comm	_nmk_i2c_algo,4,2               ; @nmk_i2c_algo
l_.str.6:                               ; @.str.6
	.asciz	"Nomadik I2C at %pR"

l_.str.7:                               ; @.str.7
	.asciz	"initialize %s on virtual base %p\n"

	.no_dead_strip	_nmk_i2c_probe
.subsections_via_symbols
