	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asic3_led_probe
_asic3_led_probe:                       ## @asic3_led_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_dev_get_platdata
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_mfd_cell_enable
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_devm_kzalloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	12(%r14), %ecx
	movl	%ecx, 16(%rax)
	movq	_LED_CORE_SUSPENDRESUME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_brightness_set@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	_blink_set@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movl	8(%r14), %ecx
	movl	%ecx, (%rax)
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_led_classdev_register
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jns	LBB0_7
## %bb.5:
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movq	%r15, %rdi
	callq	_mfd_cell_disable
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_LED_CORE_SUSPENDRESUME,4,2     ## @LED_CORE_SUSPENDRESUME
	.comm	_brightness_set,4,2             ## @brightness_set
	.comm	_blink_set,4,2                  ## @blink_set
	.no_dead_strip	_asic3_led_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asic3_led_probe
_asic3_led_probe:                       ; @asic3_led_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	x20, x0
	mov	x0, x19
	bl	_mfd_cell_enable
	tbnz	w0, #31, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #4
	bl	_devm_kzalloc
	str	x0, [x20]
	cbz	x0, LBB0_5
; %bb.2:
	mov	x1, x0
Lloh3:
	adrp	x8, _LED_CORE_SUSPENDRESUME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LED_CORE_SUSPENDRESUME@GOTPAGEOFF]
	ldp	w10, w9, [x20, #8]
	str	w9, [x0, #16]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _brightness_set@GOTPAGE
Lloh7:
	ldr	x9, [x9, _brightness_set@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
Lloh9:
	adrp	x8, _blink_set@GOTPAGE
Lloh10:
	ldr	x8, [x8, _blink_set@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w10, w8, [x0]
	mov	x0, x19
	bl	_led_classdev_register
	tbnz	w0, #31, LBB0_6
; %bb.3:
	mov	w21, #0
	b	LBB0_8
LBB0_4:
	mov	x21, x0
	b	LBB0_8
LBB0_5:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_6:
	mov	x21, x0
LBB0_7:
	mov	x0, x19
	bl	_mfd_cell_disable
LBB0_8:
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_LED_CORE_SUSPENDRESUME,4,2     ; @LED_CORE_SUSPENDRESUME
	.comm	_brightness_set,4,2             ; @brightness_set
	.comm	_blink_set,4,2                  ; @blink_set
	.no_dead_strip	_asic3_led_probe
.subsections_via_symbols
