	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dac124s085_probe
_dac124s085_probe:                      ## @dac124s085_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, %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movl	$16, (%r13)
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_9
## %bb.3:
	leaq	4(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	$-56, %r14
	xorl	%r12d, %r12d
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rbx
	movl	%r12d, 56(%rbx,%r14)
	movq	_LED_OFF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 112(%rbx,%r14)
	movq	%r13, 104(%rbx,%r14)
	movl	88(%rbx,%r14), %edi
	movl	$4, %esi
	leaq	L_.str(%rip), %rdx
	movl	%r12d, %ecx
	callq	_snprintf
	leaq	(%rbx,%r14), %rdi
	addq	$100, %rdi
	callq	_spin_lock_init
	leaq	(%rbx,%r14), %rdi
	addq	$96, %rdi
	movq	_dac124s085_led_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	(%rbx,%r14), %rdi
	addq	$92, %rdi
	callq	_mutex_init
	movl	88(%rbx,%r14), %eax
	movl	%eax, 80(%rbx,%r14)
	movq	_LED_OFF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%rbx,%r14)
	leaq	64(%rbx,%r14), %rsi
	movl	$4095, 64(%rbx,%r14)            ## imm = 0xFFF
	movq	_dac124s085_set_brightness@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%rbx,%r14)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_led_classdev_register
	testl	%eax, %eax
	js	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r12
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$64, %r14
	cmpq	%rax, %r12
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jl	LBB0_4
LBB0_9:
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_spi_set_drvdata
	xorl	%r13d, %r13d
	jmp	LBB0_10
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_10
LBB0_5:
	movl	%eax, %r13d
	testl	%r12d, %r12d
	je	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	%r14, %rdi
	callq	_led_classdev_unregister
	addq	$-64, %r14
	cmpq	$-56, %r14
	jne	LBB0_6
LBB0_7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_spi_set_drvdata
	movq	%r15, %rdi
	callq	_kfree
LBB0_10:
	movl	%r13d, %eax
	addq	$24, %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	_LED_OFF,8,3                    ## @LED_OFF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dac124s085-%d"

	.comm	_dac124s085_led_work,4,2        ## @dac124s085_led_work
	.comm	_dac124s085_set_brightness,4,2  ## @dac124s085_set_brightness
	.no_dead_strip	_dac124s085_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dac124s085_probe
_dac124s085_probe:                      ; @dac124s085_probe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	w1, [x8]
	mov	w0, #8
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	mov	w8, #16
	str	w8, [x19]
	ldr	x0, [x0]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x21, #0
	add	x22, x19, #4
Lloh3:
	adrp	x26, _LED_OFF@GOTPAGE
Lloh4:
	ldr	x26, [x26, _LED_OFF@GOTPAGEOFF]
	mov	x25, #-56
	mov	w28, #4095
Lloh5:
	adrp	x27, _dac124s085_set_brightness@GOTPAGE
Lloh6:
	ldr	x27, [x27, _dac124s085_set_brightness@GOTPAGEOFF]
Lloh7:
	adrp	x23, l_.str@PAGE
Lloh8:
	add	x23, x23, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x24, x8, x25
	str	w21, [x24, #56]
	ldr	x8, [x26]
	stp	x19, x8, [x24, #104]
	ldr	w0, [x24, #88]
	mov	w1, #4
	mov	x2, x23
	mov	x3, x21
	bl	_snprintf
	add	x0, x24, #100
	bl	_spin_lock_init
	add	x0, x24, #96
Lloh9:
	adrp	x8, _dac124s085_led_work@GOTPAGE
Lloh10:
	ldr	x8, [x8, _dac124s085_led_work@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x24, #92
	bl	_mutex_init
	ldr	w8, [x24, #88]
	str	w28, [x24, #64]!
	str	w8, [x24, #16]
	ldr	x8, [x26]
	str	x8, [x24, #8]
	ldr	w8, [x27]
	str	w8, [x24, #4]
	mov	x0, x22
	mov	x1, x24
	bl	_led_classdev_register
	tbnz	w0, #31, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	add	x25, x25, #64
	cmp	x21, w0, sxtw
	b.lt	LBB0_3
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_spi_set_drvdata
	mov	w24, #0
	b	LBB0_10
LBB0_6:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_10
LBB0_7:
	mov	x24, x0
	cbz	w21, LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x0, x8, x25
	bl	_led_classdev_unregister
	sub	x25, x25, #64
	cmn	x25, #56
	b.ne	LBB0_8
LBB0_9:
	mov	x0, x19
	mov	x1, #0
	bl	_spi_set_drvdata
	mov	x0, x20
	bl	_kfree
LBB0_10:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_LED_OFF,8,3                    ; @LED_OFF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dac124s085-%d"

	.comm	_dac124s085_led_work,4,2        ; @dac124s085_led_work
	.comm	_dac124s085_set_brightness,4,2  ; @dac124s085_set_brightness
	.no_dead_strip	_dac124s085_probe
.subsections_via_symbols
