	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lp5562_probe
_lp5562_probe:                          ## @lp5562_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_dev_get_platdata
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movq	%rax, %r14
	movl	(%rbx), %esi
	movl	(%r15), %ecx
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_devm_kcalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.9:
	movq	%rax, %r15
	movq	%r12, 24(%r14)
	movq	%rbx, 16(%r14)
	movq	_lp5562_cfg@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r14)
	movq	%r14, %rdi
	callq	_mutex_init
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_i2c_set_clientdata
	movq	%r14, %rdi
	callq	_lp55xx_init_device
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_15
## %bb.10:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_lp55xx_register_leds
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.11:
	movq	%r14, %rdi
	callq	_lp55xx_register_sysfs
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_lp55xx_unregister_leds
LBB0_14:
	movq	%r14, %rdi
	callq	_lp55xx_deinit_device
	jmp	LBB0_15
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	movq	%r12, %rdi
	callq	_lp55xx_of_populate_pdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	xorl	%ebx, %ebx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no platform data\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_lp5562_cfg,4,2                 ## @lp5562_cfg
L_.str.1:                               ## @.str.1
	.asciz	"registering sysfs failed\n"

	.no_dead_strip	_lp5562_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lp5562_probe
_lp5562_probe:                          ; @lp5562_probe
	.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
	mov	x19, x0
	bl	_dev_get_platdata
	mov	x22, x0
	cbz	x0, LBB0_9
LBB0_1:
Lloh0:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_8
; %bb.2:
	mov	x20, x0
	ldr	w1, [x22]
	ldr	w3, [x21]
	mov	x0, x19
	mov	w2, #4
	bl	_devm_kcalloc
	cbz	x0, LBB0_8
; %bb.3:
	mov	x21, x0
	str	x19, [x20, #24]
Lloh2:
	adrp	x8, _lp5562_cfg@GOTPAGE
Lloh3:
	ldr	x8, [x8, _lp5562_cfg@GOTPAGEOFF]
	stp	x8, x22, [x20, #8]
	mov	x0, x20
	bl	_mutex_init
	mov	x0, x19
	mov	x1, x21
	bl	_i2c_set_clientdata
	mov	x0, x20
	bl	_lp55xx_init_device
	mov	x22, x0
	cbnz	w0, LBB0_14
; %bb.4:
	mov	x0, x21
	mov	x1, x20
	bl	_lp55xx_register_leds
	mov	x22, x0
	cbnz	w0, LBB0_7
; %bb.5:
	mov	x0, x20
	bl	_lp55xx_register_sysfs
	mov	x22, x0
	cbz	w0, LBB0_14
; %bb.6:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x21
	mov	x1, x20
	bl	_lp55xx_unregister_leds
LBB0_7:
	mov	x0, x20
	bl	_lp55xx_deinit_device
	b	LBB0_14
LBB0_8:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
	ldr	x1, [x19]
	cbz	x1, LBB0_12
; %bb.10:
	mov	x0, x19
	bl	_lp55xx_of_populate_pdata
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_1
; %bb.11:
	mov	x0, x22
	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_12:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_14:
	mov	x0, x22
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no platform data\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_lp5562_cfg,4,2                 ; @lp5562_cfg
l_.str.1:                               ; @.str.1
	.asciz	"registering sysfs failed\n"

	.no_dead_strip	_lp5562_probe
.subsections_via_symbols
