	.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
	addq	$4, %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	$8, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movl	$16, (%r13)
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:
	movq	$-36, %r15
	xorl	%r14d, %r14d
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rbx
	movl	%r14d, 36(%rbx,%r15)
	movq	%r13, 68(%rbx,%r15)
	movl	56(%rbx,%r15), %edi
	movl	$4, %esi
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %ecx
	callq	_snprintf
	leaq	(%rbx,%r15), %rdi
	addq	$60, %rdi
	callq	_mutex_init
	movl	56(%rbx,%r15), %eax
	movl	%eax, 52(%rbx,%r15)
	movq	_LED_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx,%r15)
	leaq	40(%rbx,%r15), %rsi
	movl	$4095, 40(%rbx,%r15)            ## imm = 0xFFF
	movq	_dac124s085_set_brightness@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx,%r15)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_led_classdev_register
	testl	%eax, %eax
	js	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$40, %r15
	cmpq	%rax, %r14
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jl	LBB0_4
LBB0_8:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_spi_set_drvdata
	xorl	%r13d, %r13d
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_9
LBB0_5:
	movl	%eax, %r13d
	testl	%r14d, %r14d
	je	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	addq	%r15, %rdi
	callq	_led_classdev_unregister
	addq	$-40, %r15
	cmpq	$-36, %r15
	jne	LBB0_6
LBB0_9:
	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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dac124s085-%d"

	.comm	_LED_OFF,4,2                    ## @LED_OFF
	.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	x20, x0
	add	x21, x0, #4
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #8
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	mov	w8, #16
	str	w8, [x20]
	ldr	x0, [x0]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x22, #0
Lloh3:
	adrp	x26, _LED_OFF@GOTPAGE
Lloh4:
	ldr	x26, [x26, _LED_OFF@GOTPAGEOFF]
	mov	x25, #-36
	mov	w27, #4095
Lloh5:
	adrp	x28, _dac124s085_set_brightness@GOTPAGE
Lloh6:
	ldr	x28, [x28, _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, [x19]
	add	x24, x8, x25
	str	w22, [x24, #36]
	stur	x20, [x24, #68]
	ldr	w0, [x24, #56]
	mov	w1, #4
	mov	x2, x23
	mov	x3, x22
	bl	_snprintf
	add	x0, x24, #60
	bl	_mutex_init
	ldr	w8, [x24, #56]
	str	w8, [x24, #52]
	ldr	w8, [x26]
	str	w27, [x24, #40]!
	str	w8, [x24, #8]
	ldr	w8, [x28]
	str	w8, [x24, #4]
	mov	x0, x21
	mov	x1, x24
	bl	_led_classdev_register
	tbnz	w0, #31, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	add	x25, x25, #40
	cmp	x22, w0, sxtw
	b.lt	LBB0_3
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	bl	_spi_set_drvdata
	mov	w24, #0
	b	LBB0_9
LBB0_6:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_9
LBB0_7:
	mov	x24, x0
	cbz	w22, LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x0, x8, x25
	bl	_led_classdev_unregister
	sub	x25, x25, #40
	cmn	x25, #36
	b.ne	LBB0_8
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dac124s085-%d"

	.comm	_LED_OFF,4,2                    ; @LED_OFF
	.comm	_dac124s085_set_brightness,4,2  ; @dac124s085_set_brightness
	.no_dead_strip	_dac124s085_probe
.subsections_via_symbols
