	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function axp20x_ac_power_probe
_axp20x_ac_power_probe:                 ## @axp20x_ac_power_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	4(%rdi), %edi
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movq	$0, -40(%rbp)
	movl	(%r12), %edi
	callq	_of_device_is_available
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	testq	%r15, %r15
	je	LBB0_4
## %bb.5:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_of_device_get_match_data
	movq	%rax, %rbx
	cmpq	$0, 8(%rax)
	je	LBB0_16
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_iio_channel_get
	movq	%rax, 24(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
## %bb.9:
	movq	24(%r14), %rdi
	callq	_PTR_ERR
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	je	LBB0_10
## %bb.11:
	movq	24(%r14), %rdi
	jmp	LBB0_12
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_13:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_iio_channel_get
	movq	%rax, 16(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movq	16(%r14), %rdi
	callq	_PTR_ERR
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_15
LBB0_10:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_26:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	4(%r12), %edi
	xorl	%esi, %esi
	callq	_dev_get_regmap
	movl	%eax, 8(%r14)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movl	(%r12), %eax
	movl	%eax, -40(%rbp)
	movq	%r14, -48(%rbp)
	movl	(%rbx), %esi
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	callq	_devm_power_supply_register
	movq	%rax, (%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_17
## %bb.27:
	movq	(%r14), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_26
LBB0_17:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_platform_get_irq_byname
	testl	%eax, %eax
	js	LBB0_18
## %bb.19:
	movl	(%r15), %edi
	movl	%eax, %esi
	callq	_regmap_irq_get_virq
	movq	_axp20x_ac_power_irq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_DRVNAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	movq	%r14, %r9
	callq	_devm_request_any_context_irq
	testl	%eax, %eax
	jns	LBB0_22
## %bb.20:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_21
LBB0_15:
	movq	16(%r14), %rdi
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_18:
	leaq	L_.str.5(%rip), %rsi
LBB0_21:
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movl	%eax, %ecx
	callq	_dev_warn
LBB0_22:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_platform_get_irq_byname
	testl	%eax, %eax
	js	LBB0_25
## %bb.23:
	movl	(%r15), %edi
	movl	%eax, %esi
	callq	_regmap_irq_get_virq
	movq	_axp20x_ac_power_irq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_DRVNAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	movq	%r14, %r9
	callq	_devm_request_any_context_irq
	testl	%eax, %eax
	jns	LBB0_26
## %bb.24:
	leaq	L_.str.6(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movl	%eax, %ecx
	callq	_dev_warn
	jmp	LBB0_26
LBB0_25:
	leaq	L_.str.5(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movl	%eax, %ecx
	callq	_dev_warn
	xorl	%ebx, %ebx
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ACIN_PLUGIN"

L_.str.1:                               ## @.str.1
	.asciz	"ACIN_REMOVAL"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.2:                               ## @.str.2
	.asciz	"Parent drvdata not set\n"

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

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.4:                               ## @.str.4
	.asciz	"acin_i"

L_.str.5:                               ## @.str.5
	.asciz	"No IRQ for %s: %d\n"

	.comm	_axp20x_ac_power_irq,4,2        ## @axp20x_ac_power_irq
	.comm	_DRVNAME,4,2                    ## @DRVNAME
L_.str.6:                               ## @.str.6
	.asciz	"Error requesting %s IRQ: %d\n"

	.no_dead_strip	_axp20x_ac_power_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function axp20x_ac_power_probe
_axp20x_ac_power_probe:                 ; @axp20x_ac_power_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	w0, [x0, #4]
	bl	_dev_get_drvdata
	mov	x21, x0
	str	xzr, [sp, #8]
	ldr	w0, [x19]
	bl	_of_device_is_available
	cbz	w0, LBB0_7
; %bb.1:
	cbz	x21, LBB0_8
; %bb.2:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_9
; %bb.3:
	mov	x20, x0
	mov	x0, x19
	bl	_of_device_get_match_data
	mov	x22, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_15
; %bb.4:
Lloh3:
	adrp	x1, l_.str.3@PAGE
Lloh4:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_devm_iio_channel_get
	str	x0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.5:
	ldr	x0, [x20, #24]
	bl	_PTR_ERR
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_12
; %bb.6:
	ldr	x0, [x20, #24]
	b	LBB0_21
LBB0_7:
Lloh8:
	adrp	x8, _ENODEV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_13
LBB0_8:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_devm_iio_channel_get
	str	x0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_15
; %bb.11:
	ldr	x0, [x20, #16]
	bl	_PTR_ERR
Lloh18:
	adrp	x8, _ENODEV@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_20
LBB0_12:
Lloh21:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	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_15:
	ldr	w0, [x19, #4]
	mov	x1, #0
	bl	_dev_get_regmap
	str	w0, [x20, #8]
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	ldr	w8, [x19]
	str	w8, [sp, #8]
	str	x20, [sp]
	ldr	w1, [x22]
	mov	x2, sp
	mov	x0, x19
	bl	_devm_power_supply_register
	str	x0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_17
; %bb.16:
	ldr	x0, [x20]
	bl	_PTR_ERR
	b	LBB0_14
LBB0_17:
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_platform_get_irq_byname
	mov	x3, x0
Lloh25:
	adrp	x22, _axp20x_ac_power_irq@GOTPAGE
Lloh26:
	ldr	x22, [x22, _axp20x_ac_power_irq@GOTPAGEOFF]
Lloh27:
	adrp	x23, _DRVNAME@GOTPAGE
Lloh28:
	ldr	x23, [x23, _DRVNAME@GOTPAGEOFF]
	tbnz	w0, #31, LBB0_22
; %bb.18:
	ldr	w0, [x21]
	mov	x1, x3
	bl	_regmap_irq_get_virq
	mov	x1, x0
	ldr	w2, [x22]
	ldr	w4, [x23]
	mov	x0, x19
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_any_context_irq
	tbz	w0, #31, LBB0_24
; %bb.19:
	mov	x3, x0
Lloh29:
	adrp	x1, l_.str.6@PAGE
Lloh30:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_23
LBB0_20:
	ldr	x0, [x20, #16]
LBB0_21:
	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_22:
Lloh31:
	adrp	x1, l_.str.5@PAGE
Lloh32:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_23:
Lloh33:
	adrp	x2, l_.str@PAGE
Lloh34:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
LBB0_24:
Lloh35:
	adrp	x1, l_.str.1@PAGE
Lloh36:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_platform_get_irq_byname
	mov	x3, x0
	tbnz	w0, #31, LBB0_27
; %bb.25:
	ldr	w0, [x21]
	mov	x1, x3
	bl	_regmap_irq_get_virq
	mov	x1, x0
	ldr	w2, [x22]
	ldr	w4, [x23]
	mov	x0, x19
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_any_context_irq
	mov	x3, x0
	mov	w0, #0
	tbz	w3, #31, LBB0_14
; %bb.26:
Lloh37:
	adrp	x1, l_.str.6@PAGE
Lloh38:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_28
LBB0_27:
Lloh39:
	adrp	x1, l_.str.5@PAGE
Lloh40:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_28:
Lloh41:
	adrp	x2, l_.str.1@PAGE
Lloh42:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
	mov	w0, #0
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ACIN_PLUGIN"

l_.str.1:                               ; @.str.1
	.asciz	"ACIN_REMOVAL"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.2:                               ; @.str.2
	.asciz	"Parent drvdata not set\n"

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

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.4:                               ; @.str.4
	.asciz	"acin_i"

l_.str.5:                               ; @.str.5
	.asciz	"No IRQ for %s: %d\n"

	.comm	_axp20x_ac_power_irq,4,2        ; @axp20x_ac_power_irq
	.comm	_DRVNAME,4,2                    ; @DRVNAME
l_.str.6:                               ; @.str.6
	.asciz	"Error requesting %s IRQ: %d\n"

	.no_dead_strip	_axp20x_ac_power_probe
.subsections_via_symbols
