	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcf50633_probe
_pcf50633_probe:                        ## @pcf50633_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, %rbx
	callq	_dev_get_platdata
	cmpl	$0, 4(%rbx)
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$56, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r13
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	%rbx, 8(%r13)
	movq	%r15, 48(%r13)
	leaq	40(%r13), %rdi
	callq	_mutex_init
	movq	_pcf50633_regmap_config@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_devm_regmap_init_i2c
	movl	%eax, 36(%r13)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	36(%r13), %edi
	callq	_PTR_ERR
	movl	%eax, %r12d
	movq	8(%r13), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_24
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOENT@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_24
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_24
LBB0_6:
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_pcf50633_reg_read
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_pcf50633_reg_read
	movq	8(%r13), %rdi
	testl	%r14d, %r14d
	js	LBB0_8
## %bb.7:
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_dev_info
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %esi
	movq	%r13, %rdi
	callq	_pcf50633_irq_init
	leaq	32(%r13), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_pcf50633_client_dev_register
	leaq	28(%r13), %rdx
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	callq	_pcf50633_client_dev_register
	leaq	24(%r13), %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	callq	_pcf50633_client_dev_register
	leaq	20(%r13), %rdx
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	callq	_pcf50633_client_dev_register
	movq	%r13, %rdx
	addq	$16, %rdx
	leaq	L_.str.8(%rip), %rsi
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_pcf50633_client_dev_register
	movq	_PCF50633_NUM_REGULATORS@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jle	LBB0_20
## %bb.10:
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	leaq	L_.str.9(%rip), %rdi
	movl	%r13d, %esi
	callq	_platform_device_alloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rax, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	%rax, (%r14)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rsi
	addq	%r15, %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_platform_device_add_data
	testl	%eax, %eax
	jne	LBB0_14
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	callq	_platform_device_add
	testl	%eax, %eax
	jne	LBB0_14
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%r14, (%rax,%r13,8)
	incq	%r13
	movslq	(%rbx), %rax
	addq	$4, %r15
	cmpq	%rax, %r13
	jl	LBB0_11
LBB0_20:
	movq	_pcf_attr_group@GOTPCREL(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_sysfs_create_group
	testl	%eax, %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_22
## %bb.21:
	movq	8(%rbx), %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_dev_warn
LBB0_22:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
	xorl	%r12d, %r12d
	testq	%rcx, %rcx
	je	LBB0_24
## %bb.23:
	movq	%rbx, %rdi
	callq	*%rcx
	jmp	LBB0_24
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_24
LBB0_14:
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_platform_device_put
	jmp	LBB0_15
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_15:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	testl	%r13d, %r13d
	je	LBB0_24
## %bb.16:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_platform_device_put
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_17
LBB0_24:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Missing IRQ\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_pcf50633_regmap_config,4,2     ## @pcf50633_regmap_config
L_.str.1:                               ## @.str.1
	.asciz	"Failed to allocate register map: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unable to probe pcf50633\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.3:                               ## @.str.3
	.asciz	"Probed device version %d variant %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"pcf50633-input"

L_.str.5:                               ## @.str.5
	.asciz	"pcf50633-rtc"

L_.str.6:                               ## @.str.6
	.asciz	"pcf50633-mbc"

L_.str.7:                               ## @.str.7
	.asciz	"pcf50633-adc"

L_.str.8:                               ## @.str.8
	.asciz	"pcf50633-backlight"

	.comm	_PCF50633_NUM_REGULATORS,4,2    ## @PCF50633_NUM_REGULATORS
L_.str.9:                               ## @.str.9
	.asciz	"pcf50633-regulator"

	.comm	_pcf_attr_group,4,2             ## @pcf_attr_group
L_.str.10:                              ## @.str.10
	.asciz	"error creating sysfs entries\n"

	.no_dead_strip	_pcf50633_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcf50633_probe
_pcf50633_probe:                        ; @pcf50633_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
	bl	_dev_get_platdata
	ldr	w8, [x21, #4]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #56
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x19, x0
	mov	x0, x21
	mov	x1, x19
	bl	_i2c_set_clientdata
	str	x21, [x19, #8]
	str	x20, [x19, #48]
	add	x0, x19, #40
	bl	_mutex_init
Lloh3:
	adrp	x1, _pcf50633_regmap_config@GOTPAGE
Lloh4:
	ldr	x1, [x1, _pcf50633_regmap_config@GOTPAGEOFF]
	mov	x0, x21
	bl	_devm_regmap_init_i2c
	str	w0, [x19, #36]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w0, [x19, #36]
	bl	_PTR_ERR
	mov	x23, x0
	ldr	x0, [x19, #8]
	str	x23, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_21
LBB0_4:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh9:
	adrp	x8, _ENOENT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_20
LBB0_5:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_20
LBB0_6:
	mov	x0, x19
	mov	w1, #0
	bl	_pcf50633_reg_read
	mov	x22, x0
	mov	x0, x19
	mov	w1, #1
	bl	_pcf50633_reg_read
	mov	x3, x0
	ldr	x0, [x19, #8]
	tbnz	w22, #31, LBB0_19
; %bb.7:
	tbnz	w3, #31, LBB0_19
; %bb.8:
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x22
	bl	_dev_info
	ldr	w1, [x21, #4]
	mov	x0, x19
	bl	_pcf50633_irq_init
	add	x2, x19, #32
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_pcf50633_client_dev_register
	add	x2, x19, #28
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_pcf50633_client_dev_register
	add	x2, x19, #24
Lloh19:
	adrp	x1, l_.str.6@PAGE
Lloh20:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_pcf50633_client_dev_register
	add	x2, x19, #20
Lloh21:
	adrp	x1, l_.str.7@PAGE
Lloh22:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_pcf50633_client_dev_register
	add	x2, x19, #16
Lloh23:
	adrp	x1, l_.str.8@PAGE
Lloh24:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_pcf50633_client_dev_register
Lloh25:
	adrp	x26, _PCF50633_NUM_REGULATORS@GOTPAGE
Lloh26:
	ldr	x26, [x26, _PCF50633_NUM_REGULATORS@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.9:
	mov	x27, #0
	mov	x22, #0
Lloh27:
	adrp	x24, l_.str.9@PAGE
Lloh28:
	add	x24, x24, l_.str.9@PAGEOFF
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x22
	bl	_platform_device_alloc
	cbz	x0, LBB0_23
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x25, x0
	ldr	x8, [x19, #8]
	str	x8, [x0]
	ldr	x8, [x20, #8]
	add	x1, x8, x27
	mov	w2, #4
	bl	_platform_device_add_data
	cbnz	w0, LBB0_22
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x25
	bl	_platform_device_add
	cbnz	w0, LBB0_22
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19]
	str	x25, [x8, x22, lsl #3]
	add	x22, x22, #1
	ldrsw	x8, [x26]
	add	x27, x27, #4
	cmp	x22, x8
	b.lt	LBB0_10
LBB0_14:
Lloh29:
	adrp	x1, _pcf_attr_group@GOTPAGE
Lloh30:
	ldr	x1, [x1, _pcf_attr_group@GOTPAGEOFF]
	mov	x0, x21
	bl	_sysfs_create_group
	cbz	w0, LBB0_16
; %bb.15:
	ldr	x0, [x19, #8]
Lloh31:
	adrp	x1, l_.str.10@PAGE
Lloh32:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_dev_warn
LBB0_16:
	ldr	x8, [x20]
	cbz	x8, LBB0_18
; %bb.17:
	mov	x0, x19
	blr	x8
LBB0_18:
	mov	w23, #0
	b	LBB0_21
LBB0_19:
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
Lloh35:
	adrp	x8, _ENODEV@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_20:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_21:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_22:
	mov	x23, x0
	mov	x0, x25
	bl	_platform_device_put
	b	LBB0_24
LBB0_23:
Lloh37:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_24:
	cbz	w22, LBB0_21
; %bb.25:
	mov	x20, #0
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x0, [x8, x20, lsl #3]
	bl	_platform_device_put
	add	x20, x20, #1
	cmp	x22, x20
	b.ne	LBB0_26
	b	LBB0_21
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Missing IRQ\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_pcf50633_regmap_config,4,2     ; @pcf50633_regmap_config
l_.str.1:                               ; @.str.1
	.asciz	"Failed to allocate register map: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unable to probe pcf50633\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.3:                               ; @.str.3
	.asciz	"Probed device version %d variant %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"pcf50633-input"

l_.str.5:                               ; @.str.5
	.asciz	"pcf50633-rtc"

l_.str.6:                               ; @.str.6
	.asciz	"pcf50633-mbc"

l_.str.7:                               ; @.str.7
	.asciz	"pcf50633-adc"

l_.str.8:                               ; @.str.8
	.asciz	"pcf50633-backlight"

	.comm	_PCF50633_NUM_REGULATORS,4,2    ; @PCF50633_NUM_REGULATORS
l_.str.9:                               ; @.str.9
	.asciz	"pcf50633-regulator"

	.comm	_pcf_attr_group,4,2             ; @pcf_attr_group
l_.str.10:                              ; @.str.10
	.asciz	"error creating sysfs entries\n"

	.no_dead_strip	_pcf50633_probe
.subsections_via_symbols
