	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function an30259a_probe
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_an30259a_probe:                        ## @an30259a_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r13
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_an30259a_dt_init
	testl	%eax, %eax
	js	LBB0_8
## %bb.2:
	movq	%r13, %rbx
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_mutex_init
	movq	%r14, 24(%r13)
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_i2c_set_clientdata
	movq	_an30259a_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regmap_init_i2c
	movl	%eax, 16(%r13)
	cmpl	$0, (%r13)
	jle	LBB0_9
## %bb.3:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	8(%r13), %rdi
	addq	%r15, %rdi
	callq	_an30259a_init_default_state
	movq	_an30259a_brightness_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r13), %rcx
	leaq	(%rcx,%r15), %rsi
	movl	%eax, 4(%rcx,%r15)
	movq	_an30259a_blink_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx,%r15)
	movl	8(%rcx,%r15), %eax
	movl	%eax, -52(%rbp)
	movq	_AN30259A_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -64(%rbp)
	movq	%r14, %rdi
	leaq	-64(%rbp), %rdx
	callq	_devm_led_classdev_register_ext
	testl	%eax, %eax
	js	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	movslq	(%r13), %rax
	addq	$12, %r15
	cmpq	%rax, %r12
	jl	LBB0_4
LBB0_9:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_8:
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_10:
	movl	%eax, %ebx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_destroy
LBB0_11:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_an30259a_regmap_config,4,2     ## @an30259a_regmap_config
	.comm	_an30259a_brightness_set,4,2    ## @an30259a_brightness_set
	.comm	_an30259a_blink_set,4,2         ## @an30259a_blink_set
	.comm	_AN30259A_NAME,4,2              ## @AN30259A_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	":"

	.no_dead_strip	_an30259a_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function an30259a_probe
_an30259a_probe:                        ; @an30259a_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	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_an30259a_dt_init
	tbnz	w0, #31, LBB0_8
; %bb.2:
	add	x21, x20, #4
	mov	x0, x21
	bl	_mutex_init
	str	x19, [x20, #24]
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
Lloh3:
	adrp	x1, _an30259a_regmap_config@GOTPAGE
Lloh4:
	ldr	x1, [x1, _an30259a_regmap_config@GOTPAGEOFF]
	mov	x0, x19
	bl	_devm_regmap_init_i2c
	str	w0, [x20, #16]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	mov	x23, #0
	mov	x24, #0
Lloh5:
	adrp	x25, _an30259a_brightness_set@GOTPAGE
Lloh6:
	ldr	x25, [x25, _an30259a_brightness_set@GOTPAGEOFF]
Lloh7:
	adrp	x26, _an30259a_blink_set@GOTPAGE
Lloh8:
	ldr	x26, [x26, _an30259a_blink_set@GOTPAGEOFF]
Lloh9:
	adrp	x27, _AN30259A_NAME@GOTPAGE
Lloh10:
	ldr	x27, [x27, _AN30259A_NAME@GOTPAGEOFF]
Lloh11:
	adrp	x28, l_.str@PAGE
Lloh12:
	add	x28, x28, l_.str@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	stp	xzr, xzr, [sp]
	ldr	x8, [x20, #8]
	add	x0, x8, x23
	bl	_an30259a_init_default_state
	ldr	w8, [x25]
	ldr	x9, [x20, #8]
	add	x1, x9, x23
	str	w8, [x1, #4]
	ldr	w8, [x26]
	str	w8, [x1]
	ldr	w8, [x1, #8]
	ldr	w9, [x27]
	stp	w9, w8, [sp, #8]
	str	x28, [sp]
	mov	x2, sp
	mov	x0, x19
	bl	_devm_led_classdev_register_ext
	tbnz	w0, #31, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x20]
	add	x23, x23, #12
	cmp	x24, x8
	b.lt	LBB0_4
LBB0_6:
	mov	w22, #0
	b	LBB0_10
LBB0_7:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_10
LBB0_8:
	mov	x22, x0
	b	LBB0_10
LBB0_9:
	mov	x22, x0
	mov	x0, x21
	bl	_mutex_destroy
LBB0_10:
	mov	x0, x22
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_an30259a_regmap_config,4,2     ; @an30259a_regmap_config
	.comm	_an30259a_brightness_set,4,2    ; @an30259a_brightness_set
	.comm	_an30259a_blink_set,4,2         ; @an30259a_blink_set
	.comm	_AN30259A_NAME,4,2              ; @AN30259A_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	":"

	.no_dead_strip	_an30259a_probe
.subsections_via_symbols
