	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p2wi_probe
_p2wi_probe:                            ## @p2wi_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, %r12
	leaq	8(%rdi), %r15
	movq	8(%rdi), %rbx
	movq	$100000, -56(%rbp)              ## imm = 0x186A0
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_of_property_read_u32
	movq	-56(%rbp), %rdx
	movq	_P2WI_MAX_FREQ@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jbe	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
LBB0_2:
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, %rdi
	callq	_of_get_child_count
	cmpl	$2, %eax
	jl	LBB0_8
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_6:
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$80, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	%rax, %r14
	movl	$-1, (%rax)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_of_get_next_available_child
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movq	%rax, %r13
	leaq	L_.str.3(%rip), %rsi
	leaq	-64(%rbp), %rdx
	movq	%rax, %rdi
	callq	_of_property_read_u32
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movq	%r13, %rdx
	jmp	LBB0_2
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_13:
	movl	-64(%rbp), %eax
	movl	%eax, (%r14)
LBB0_14:
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 64(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	64(%r14), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_16:
	movl	56(%r14), %edi
	movl	(%r12), %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_19
## %bb.17:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movq	%rax, 8(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	8(%r14), %rdi
	testq	%rax, %rax
	je	LBB0_21
## %bb.18:
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	jmp	LBB0_20
LBB0_19:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
LBB0_20:
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_7
LBB0_21:
	callq	_clk_prepare_enable
	testl	%eax, %eax
	je	LBB0_23
## %bb.22:
	movl	%eax, %r13d
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	%r13d, %ebx
	jmp	LBB0_7
LBB0_23:
	movq	8(%r14), %rdi
	callq	_clk_get_rate
	movq	%rax, %r13
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_devm_reset_control_get_exclusive
	movq	%rax, 16(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	16(%r14), %rdi
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_41
LBB0_25:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	callq	_reset_control_deassert
	testl	%eax, %eax
	je	LBB0_27
## %bb.26:
	movl	%eax, %r13d
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	%r13d, %ebx
	jmp	LBB0_41
LBB0_27:
	leaq	24(%r14), %r13
	movq	%r14, %rdi
	addq	$72, %rdi
	callq	_init_completion
	movq	%r15, 32(%r14)
	movq	_p2wi_algo@GOTPCREL(%rip), %rax
	movq	%rax, 48(%r14)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movq	8(%r12), %rax
	movq	%rax, 24(%r14)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_i2c_set_adapdata
	movq	_p2wi_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %r8d
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	movq	%r14, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_29
## %bb.28:
	movl	%eax, %r12d
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	movl	%r12d, %ebx
	jmp	LBB0_40
LBB0_29:
	movq	_P2WI_CTRL_SOFT_RST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_P2WI_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	64(%r14), %rsi
	callq	_writel
	movq	-56(%rbp), %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_31
## %bb.30:
	xorl	%edx, %edx
	divq	%rcx
	movq	%rax, %r12
	jmp	LBB0_32
LBB0_31:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %r12d
LBB0_32:
	testl	%r12d, %r12d
	je	LBB0_36
## %bb.33:
	movq	_P2WI_CCR_MAX_CLK_DIV@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rcx
	cmpl	%r12d, %ecx
	jge	LBB0_39
## %bb.34:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_37
## %bb.35:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_38
LBB0_36:
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_dev_warn
	movl	$1, %r12d
	jmp	LBB0_39
LBB0_37:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_38:
	leaq	L_.str.12(%rip), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	callq	_dev_warn
	movl	(%rbx), %r12d
LBB0_39:
	movl	$1, %edi
	callq	_P2WI_CCR_SDA_OUT_DELAY
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_P2WI_CCR_CLK_DIV
	orl	%eax, %ebx
	movq	_P2WI_CCR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	64(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	%r13, %rdi
	callq	_i2c_add_adapter
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_42
LBB0_40:
	movq	16(%r14), %rdi
	callq	_reset_control_assert
LBB0_41:
	movq	8(%r14), %rdi
	callq	_clk_disable_unprepare
	jmp	LBB0_7
LBB0_42:
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clock-frequency"

	.comm	_P2WI_MAX_FREQ,8,3              ## @P2WI_MAX_FREQ
L_.str.1:                               ## @.str.1
	.asciz	"required clock-frequency (%u Hz) is too high (max = 6MHz)"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"P2WI only supports one slave device\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.3:                               ## @.str.3
	.asciz	"reg"

L_.str.4:                               ## @.str.4
	.asciz	"invalid slave address on node %pOF\n"

	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
L_.str.5:                               ## @.str.5
	.asciz	"failed to retrieve irq: %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"failed to retrieve clk: %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"failed to enable clk: %d\n"

L_.str.8:                               ## @.str.8
	.asciz	"failed to retrieve reset controller: %d\n"

L_.str.9:                               ## @.str.9
	.asciz	"failed to deassert reset line: %d\n"

	.comm	_p2wi_algo,4,2                  ## @p2wi_algo
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_p2wi_interrupt,4,2             ## @p2wi_interrupt
L_.str.10:                              ## @.str.10
	.asciz	"can't register interrupt handler irq%d: %d\n"

	.comm	_P2WI_CTRL_SOFT_RST,4,2         ## @P2WI_CTRL_SOFT_RST
	.comm	_P2WI_CTRL,8,3                  ## @P2WI_CTRL
L_.str.11:                              ## @.str.11
	.asciz	"clock-frequency is too high, setting it to %lu Hz\n"

	.comm	_P2WI_CCR_MAX_CLK_DIV,4,2       ## @P2WI_CCR_MAX_CLK_DIV
L_.str.12:                              ## @.str.12
	.asciz	"clock-frequency is too low, setting it to %lu Hz\n"

	.comm	_P2WI_CCR,8,3                   ## @P2WI_CCR
	.no_dead_strip	_p2wi_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p2wi_probe
_p2wi_probe:                            ; @p2wi_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x0
	mov	x19, x0
	ldr	x22, [x19, #8]!
	mov	w8, #34464
	movk	w8, #1, lsl #16
	str	x8, [sp, #24]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #24
	mov	x0, x22
	bl	_of_property_read_u32
	ldr	x8, [sp, #24]
Lloh2:
	adrp	x9, _P2WI_MAX_FREQ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _P2WI_MAX_FREQ@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_2
; %bb.1:
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:
	mov	x0, x22
	bl	_of_get_child_count
	cmp	w0, #2
	b.lt	LBB0_7
; %bb.3:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_dev_err
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_6:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_7:
Lloh11:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #80
	bl	_devm_kzalloc
	cbz	x0, LBB0_11
; %bb.8:
	mov	x20, x0
	mov	w8, #-1
	str	w8, [x0]
	mov	x0, x22
	mov	x1, #0
	bl	_of_get_next_available_child
	cbz	x0, LBB0_13
; %bb.9:
	mov	x22, x0
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #16
	bl	_of_property_read_u32
	cbz	w0, LBB0_12
; %bb.10:
	str	x22, [sp]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_4
LBB0_11:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_5
LBB0_12:
	ldr	x8, [sp, #16]
	str	w8, [x20]
LBB0_13:
Lloh20:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x20, #64]
	bl	_IS_ERR
	cbz	x0, LBB0_15
; %bb.14:
	ldr	x0, [x20, #64]
	bl	_PTR_ERR
	mov	x22, x0
	b	LBB0_6
LBB0_15:
	ldr	w0, [x20, #56]
	ldr	w1, [x21]
	mov	w2, #4
	bl	_strlcpy
	mov	x0, x21
	mov	w1, #0
	bl	_platform_get_irq
	mov	x22, x0
	tbnz	w0, #31, LBB0_18
; %bb.16:
	mov	x0, x19
	mov	x1, #0
	bl	_devm_clk_get
	str	x0, [x20, #8]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20, #8]
	cbz	x8, LBB0_19
; %bb.17:
	bl	_PTR_ERR
	mov	x22, x0
	str	x22, [sp]
Lloh23:
	adrp	x1, l_.str.6@PAGE
Lloh24:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_6
LBB0_18:
	str	x22, [sp]
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_6
LBB0_19:
	bl	_clk_prepare_enable
	cbz	w0, LBB0_21
; %bb.20:
	mov	x23, x0
	str	x23, [sp]
Lloh27:
	adrp	x1, l_.str.7@PAGE
Lloh28:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x22, x23
	b	LBB0_6
LBB0_21:
	ldr	x0, [x20, #8]
	bl	_clk_get_rate
	mov	x24, x0
	mov	x0, x19
	mov	x1, #0
	bl	_devm_reset_control_get_exclusive
	str	x0, [x20, #16]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20, #16]
	cbz	x8, LBB0_23
; %bb.22:
	bl	_PTR_ERR
	mov	x22, x0
	str	x22, [sp]
Lloh29:
	adrp	x1, l_.str.8@PAGE
Lloh30:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_33
LBB0_23:
	bl	_reset_control_deassert
	cbz	w0, LBB0_25
; %bb.24:
	mov	x23, x0
	str	x23, [sp]
Lloh31:
	adrp	x1, l_.str.9@PAGE
Lloh32:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x22, x23
	b	LBB0_33
LBB0_25:
	add	x23, x20, #24
	add	x0, x20, #72
	bl	_init_completion
	str	x19, [x20, #32]
Lloh33:
	adrp	x8, _p2wi_algo@GOTPAGE
Lloh34:
	ldr	x8, [x8, _p2wi_algo@GOTPAGEOFF]
	str	x8, [x20, #48]
Lloh35:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	str	w8, [x20, #40]
	ldr	x8, [x21, #8]
	str	x8, [x20, #24]
	mov	x0, x21
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x23
	mov	x1, x20
	bl	_i2c_set_adapdata
Lloh38:
	adrp	x8, _p2wi_interrupt@GOTPAGE
Lloh39:
	ldr	x8, [x8, _p2wi_interrupt@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
	ldr	w4, [x21]
	mov	x0, x19
	mov	x1, x22
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	cbz	w0, LBB0_27
; %bb.26:
	mov	x21, x0
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	stp	x22, x21, [sp]
Lloh41:
	adrp	x1, l_.str.10@PAGE
Lloh42:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x22, x21
	b	LBB0_32
LBB0_27:
Lloh43:
	adrp	x8, _P2WI_CTRL_SOFT_RST@GOTPAGE
Lloh44:
	ldr	x8, [x8, _P2WI_CTRL_SOFT_RST@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	ldr	x8, [x20, #64]
Lloh46:
	adrp	x9, _P2WI_CTRL@GOTPAGE
Lloh47:
	ldr	x9, [x9, _P2WI_CTRL@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [sp, #24]
	udiv	x21, x24, x8
	cbz	w21, LBB0_30
; %bb.28:
Lloh49:
	adrp	x22, _P2WI_CCR_MAX_CLK_DIV@GOTPAGE
Lloh50:
	ldr	x22, [x22, _P2WI_CCR_MAX_CLK_DIV@GOTPAGEOFF]
	ldrsw	x8, [x22]
	cmp	w8, w21
	b.ge	LBB0_31
; %bb.29:
	udiv	x2, x24, x8
Lloh51:
	adrp	x1, l_.str.12@PAGE
Lloh52:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
	ldr	w21, [x22]
	b	LBB0_31
LBB0_30:
Lloh53:
	adrp	x1, l_.str.11@PAGE
Lloh54:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	mov	x2, x24
	bl	_dev_warn
	mov	w21, #1
LBB0_31:
	mov	w0, #1
	bl	_P2WI_CCR_SDA_OUT_DELAY
	mov	x19, x0
	mov	x0, x21
	bl	_P2WI_CCR_CLK_DIV
	orr	w0, w0, w19
	ldr	x8, [x20, #64]
Lloh55:
	adrp	x9, _P2WI_CCR@GOTPAGE
Lloh56:
	ldr	x9, [x9, _P2WI_CCR@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	x0, x23
	bl	_i2c_add_adapter
	mov	x22, x0
	cbz	w0, LBB0_6
LBB0_32:
	ldr	x0, [x20, #16]
	bl	_reset_control_assert
LBB0_33:
	ldr	x0, [x20, #8]
	bl	_clk_disable_unprepare
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clock-frequency"

	.comm	_P2WI_MAX_FREQ,8,3              ; @P2WI_MAX_FREQ
l_.str.1:                               ; @.str.1
	.asciz	"required clock-frequency (%u Hz) is too high (max = 6MHz)"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"P2WI only supports one slave device\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.3:                               ; @.str.3
	.asciz	"reg"

l_.str.4:                               ; @.str.4
	.asciz	"invalid slave address on node %pOF\n"

	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
l_.str.5:                               ; @.str.5
	.asciz	"failed to retrieve irq: %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"failed to retrieve clk: %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"failed to enable clk: %d\n"

l_.str.8:                               ; @.str.8
	.asciz	"failed to retrieve reset controller: %d\n"

l_.str.9:                               ; @.str.9
	.asciz	"failed to deassert reset line: %d\n"

	.comm	_p2wi_algo,4,2                  ; @p2wi_algo
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_p2wi_interrupt,4,2             ; @p2wi_interrupt
l_.str.10:                              ; @.str.10
	.asciz	"can't register interrupt handler irq%d: %d\n"

	.comm	_P2WI_CTRL_SOFT_RST,4,2         ; @P2WI_CTRL_SOFT_RST
	.comm	_P2WI_CTRL,8,3                  ; @P2WI_CTRL
l_.str.11:                              ; @.str.11
	.asciz	"clock-frequency is too high, setting it to %lu Hz\n"

	.comm	_P2WI_CCR_MAX_CLK_DIV,4,2       ; @P2WI_CCR_MAX_CLK_DIV
l_.str.12:                              ; @.str.12
	.asciz	"clock-frequency is too low, setting it to %lu Hz\n"

	.comm	_P2WI_CCR,8,3                   ; @P2WI_CCR
	.no_dead_strip	_p2wi_probe
.subsections_via_symbols
