	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm800_pages_init
_pm800_pages_init:                      ## @pm800_pages_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	movl	40(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_3
## %bb.2:
	cmpl	$0, 16(%rbx)
	je	LBB0_3
## %bb.4:
	movq	%rdi, %r14
	movq	16(%rdi), %r15
	movl	(%r15), %edi
	callq	_i2c_new_dummy_device
	movq	%rax, 24(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	24(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_5
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_pm80x_regmap_config@GOTPCREL(%rip), %rsi
	callq	_devm_regmap_init_i2c
	movq	%rax, 32(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	32(%rbx), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
LBB0_7:
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_12
LBB0_8:
	movq	24(%rbx), %rdi
	movq	%r14, %rsi
	callq	_i2c_set_clientdata
	movl	(%r15), %edi
	movl	16(%rbx), %esi
	callq	_i2c_new_dummy_device
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	(%rbx), %rdi
	testq	%rax, %rax
	jne	LBB0_13
## %bb.9:
	movq	_pm80x_regmap_config@GOTPCREL(%rip), %rsi
	callq	_devm_regmap_init_i2c
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	8(%rbx), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_7
LBB0_11:
	movq	(%rbx), %rdi
	movq	%r14, %rsi
	callq	_i2c_set_clientdata
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_pm80x_regmap_config,4,2        ## @pm80x_regmap_config
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to allocate regmap_power: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to allocate regmap_gpadc: %d\n"

	.no_dead_strip	_pm800_pages_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm800_pages_init
_pm800_pages_init:                      ; @pm800_pages_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x20, [x0, #8]
	cbz	x20, LBB0_5
; %bb.1:
	ldr	w1, [x20, #40]
	cbz	w1, LBB0_5
; %bb.2:
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_5
; %bb.3:
	mov	x19, x0
	ldr	x21, [x0, #16]
	ldr	w0, [x21]
	bl	_i2c_new_dummy_device
	str	x0, [x20, #24]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20, #24]
	cbz	x8, LBB0_7
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_5:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh3:
	adrp	x1, _pm80x_regmap_config@GOTPAGE
Lloh4:
	ldr	x1, [x1, _pm80x_regmap_config@GOTPAGEOFF]
	bl	_devm_regmap_init_i2c
	str	x0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.8:
	ldr	x0, [x20, #32]
	bl	_PTR_ERR
	mov	x20, x0
	ldr	w0, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
LBB0_9:
	mov	x2, x20
	bl	_dev_err
	b	LBB0_6
LBB0_10:
	ldr	x0, [x20, #24]
	mov	x1, x19
	bl	_i2c_set_clientdata
	ldr	w0, [x21]
	ldr	w1, [x20, #16]
	bl	_i2c_new_dummy_device
	str	x0, [x20]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x20]
	cbnz	x8, LBB0_4
; %bb.11:
Lloh7:
	adrp	x1, _pm80x_regmap_config@GOTPAGE
Lloh8:
	ldr	x1, [x1, _pm80x_regmap_config@GOTPAGEOFF]
	bl	_devm_regmap_init_i2c
	str	x0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.12:
	ldr	x0, [x20, #8]
	bl	_PTR_ERR
	mov	x20, x0
	ldr	w0, [x19]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_13:
	ldr	x0, [x20]
	mov	x1, x19
	bl	_i2c_set_clientdata
	mov	w20, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_pm80x_regmap_config,4,2        ; @pm80x_regmap_config
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to allocate regmap_power: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to allocate regmap_gpadc: %d\n"

	.no_dead_strip	_pm800_pages_init
.subsections_via_symbols
