	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm3560_probe
_lm3560_probe:                          ## @lm3560_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, %r14
	callq	_dev_get_platdata
	movq	%rax, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	_lm3560_regmap@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regmap_init_i2c
	movl	%eax, 24(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.13:
	movl	24(%rbx), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	testq	%r15, %r15
	jne	LBB0_8
## %bb.5:
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r15
	movq	_LM3560_PEAK_3600mA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movq	_LM3560_FLASH_TOUT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_LM3560_FLASH_BRT_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	8(%r15), %rdx
	movq	_LM3560_LED0@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rcx, (%rdx,%rsi,8)
	movq	_LM3560_TORCH_BRT_MAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	(%r15), %rdi
	movq	%rdx, (%rdi,%rsi,8)
	movq	(%rax), %rax
	movq	8(%r15), %rdx
	movq	_LM3560_LED1@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	%rax, (%rdx,%rsi,8)
	movq	(%rcx), %rax
	movq	(%r15), %rcx
	movq	%rax, (%rcx,%rsi,8)
LBB0_8:
	movq	%r15, 16(%rbx)
	movq	%r14, 8(%rbx)
	movq	%rbx, %rdi
	callq	_mutex_init
	movq	_LM3560_LED0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_lm3560_subdev_init
	testl	%eax, %eax
	js	LBB0_12
## %bb.9:
	movq	_LM3560_LED1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	callq	_lm3560_subdev_init
	testl	%eax, %eax
	js	LBB0_12
## %bb.10:
	movq	%rbx, %rdi
	callq	_lm3560_init_device
	testl	%eax, %eax
	js	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_clientdata
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_6:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_lm3560_regmap,4,2              ## @lm3560_regmap
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_LM3560_PEAK_3600mA,4,2         ## @LM3560_PEAK_3600mA
	.comm	_LM3560_FLASH_TOUT_MAX,4,2      ## @LM3560_FLASH_TOUT_MAX
	.comm	_LM3560_FLASH_BRT_MAX,8,3       ## @LM3560_FLASH_BRT_MAX
	.comm	_LM3560_LED0,8,3                ## @LM3560_LED0
	.comm	_LM3560_TORCH_BRT_MAX,8,3       ## @LM3560_TORCH_BRT_MAX
	.comm	_LM3560_LED1,8,3                ## @LM3560_LED1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lm3560-led0"

L_.str.1:                               ## @.str.1
	.asciz	"lm3560-led1"

	.no_dead_strip	_lm3560_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm3560_probe
_lm3560_probe:                          ; @lm3560_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_dev_get_platdata
	mov	x21, x0
Lloh0:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x1, _lm3560_regmap@GOTPAGE
Lloh3:
	ldr	x1, [x1, _lm3560_regmap@GOTPAGEOFF]
	mov	x0, x19
	bl	_devm_regmap_init_i2c
	str	w0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w0, [x20, #24]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_3:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh6:
	adrp	x22, _LM3560_LED0@GOTPAGE
Lloh7:
	ldr	x22, [x22, _LM3560_LED0@GOTPAGEOFF]
	cbnz	x21, LBB0_9
; %bb.7:
	ldr	w2, [x23]
	mov	x0, x19
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_13
; %bb.8:
	mov	x21, x0
Lloh8:
	adrp	x8, _LM3560_PEAK_3600mA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LM3560_PEAK_3600mA@GOTPAGEOFF]
Lloh10:
	adrp	x9, _LM3560_FLASH_TOUT_MAX@GOTPAGE
Lloh11:
	ldr	x9, [x9, _LM3560_FLASH_TOUT_MAX@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
Lloh14:
	adrp	x8, _LM3560_FLASH_BRT_MAX@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LM3560_FLASH_BRT_MAX@GOTPAGEOFF]
	ldr	x9, [x8]
	ldr	x10, [x0, #8]
	ldr	x11, [x22]
	lsl	x11, x11, #3
	str	x9, [x10, x11]
Lloh16:
	adrp	x9, _LM3560_TORCH_BRT_MAX@GOTPAGE
Lloh17:
	ldr	x9, [x9, _LM3560_TORCH_BRT_MAX@GOTPAGEOFF]
	ldr	x10, [x9]
	ldr	x12, [x0]
	str	x10, [x12, x11]
	ldr	x8, [x8]
	ldr	x10, [x0, #8]
Lloh18:
	adrp	x11, _LM3560_LED1@GOTPAGE
Lloh19:
	ldr	x11, [x11, _LM3560_LED1@GOTPAGEOFF]
Lloh20:
	ldr	x11, [x11]
	lsl	x11, x11, #3
	str	x8, [x10, x11]
	ldr	x8, [x9]
	ldr	x9, [x0]
	str	x8, [x9, x11]
LBB0_9:
	stp	x19, x21, [x20, #8]
	mov	x0, x20
	bl	_mutex_init
	ldr	x1, [x22]
Lloh21:
	adrp	x2, l_.str@PAGE
Lloh22:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_lm3560_subdev_init
	tbnz	w0, #31, LBB0_5
; %bb.10:
Lloh23:
	adrp	x8, _LM3560_LED1@GOTPAGE
Lloh24:
	ldr	x8, [x8, _LM3560_LED1@GOTPAGEOFF]
Lloh25:
	ldr	x1, [x8]
Lloh26:
	adrp	x2, l_.str.1@PAGE
Lloh27:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_lm3560_subdev_init
	tbnz	w0, #31, LBB0_5
; %bb.11:
	mov	x0, x20
	bl	_lm3560_init_device
	tbnz	w0, #31, LBB0_5
; %bb.12:
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	mov	w0, #0
	b	LBB0_5
LBB0_13:
Lloh28:
	adrp	x8, _ENODEV@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_lm3560_regmap,4,2              ; @lm3560_regmap
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_LM3560_PEAK_3600mA,4,2         ; @LM3560_PEAK_3600mA
	.comm	_LM3560_FLASH_TOUT_MAX,4,2      ; @LM3560_FLASH_TOUT_MAX
	.comm	_LM3560_FLASH_BRT_MAX,8,3       ; @LM3560_FLASH_BRT_MAX
	.comm	_LM3560_LED0,8,3                ; @LM3560_LED0
	.comm	_LM3560_TORCH_BRT_MAX,8,3       ; @LM3560_TORCH_BRT_MAX
	.comm	_LM3560_LED1,8,3                ; @LM3560_LED1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lm3560-led0"

l_.str.1:                               ; @.str.1
	.asciz	"lm3560-led1"

	.no_dead_strip	_lm3560_probe
.subsections_via_symbols
