	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad_dpot_add_files
_ad_dpot_add_files:                     ## @ad_dpot_add_files
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %r15
	movq	_dpot_attrib_wipers@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edx, %r13d
	movl	(%rax,%r13,4), %esi
	callq	_sysfs_create_file
	movl	%eax, %ebx
	movq	_F_CMD_EEP@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_dpot_attrib_eeprom@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %esi
	movq	%r15, %rdi
	callq	_sysfs_create_file
	orl	%eax, %ebx
LBB0_2:
	movq	_F_CMD_TOL@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_dpot_attrib_tolerance@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %esi
	movq	%r15, %rdi
	callq	_sysfs_create_file
	orl	%eax, %ebx
LBB0_4:
	movq	_F_CMD_OTP@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_dpot_attrib_otp_en@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %esi
	movq	%r15, %rdi
	callq	_sysfs_create_file
	movl	%eax, %r12d
	orl	%ebx, %r12d
	movq	_dpot_attrib_otp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %esi
	movq	%r15, %rdi
	callq	_sysfs_create_file
	movl	%eax, %ebx
	orl	%r12d, %ebx
LBB0_6:
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_dev_err
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dpot_attrib_wipers,8,3         ## @dpot_attrib_wipers
	.comm	_F_CMD_EEP,4,2                  ## @F_CMD_EEP
	.comm	_dpot_attrib_eeprom,8,3         ## @dpot_attrib_eeprom
	.comm	_F_CMD_TOL,4,2                  ## @F_CMD_TOL
	.comm	_dpot_attrib_tolerance,8,3      ## @dpot_attrib_tolerance
	.comm	_F_CMD_OTP,4,2                  ## @F_CMD_OTP
	.comm	_dpot_attrib_otp_en,8,3         ## @dpot_attrib_otp_en
	.comm	_dpot_attrib_otp,8,3            ## @dpot_attrib_otp
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to register sysfs hooks for RDAC%d\n"

	.no_dead_strip	_ad_dpot_add_files
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad_dpot_add_files
_ad_dpot_add_files:                     ; @ad_dpot_add_files
	.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, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _dpot_attrib_wipers@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dpot_attrib_wipers@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w23, w2
	ldr	w1, [x8, w2, uxtw #2]
	bl	_sysfs_create_file
	mov	x21, x0
Lloh3:
	adrp	x8, _F_CMD_EEP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _F_CMD_EEP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _dpot_attrib_eeprom@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dpot_attrib_eeprom@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w1, [x8, x23, lsl #2]
	mov	x0, x20
	bl	_sysfs_create_file
	orr	w21, w0, w21
LBB0_2:
Lloh9:
	adrp	x8, _F_CMD_TOL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _F_CMD_TOL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _dpot_attrib_tolerance@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dpot_attrib_tolerance@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	w1, [x8, x23, lsl #2]
	mov	x0, x20
	bl	_sysfs_create_file
	orr	w21, w0, w21
LBB0_4:
Lloh15:
	adrp	x8, _F_CMD_OTP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _F_CMD_OTP@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_6
; %bb.5:
Lloh18:
	adrp	x8, _dpot_attrib_otp_en@GOTPAGE
Lloh19:
	ldr	x8, [x8, _dpot_attrib_otp_en@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	lsl	x22, x23, #2
	ldr	w1, [x8, x22]
	mov	x0, x20
	bl	_sysfs_create_file
	orr	w21, w0, w21
Lloh21:
	adrp	x8, _dpot_attrib_otp@GOTPAGE
Lloh22:
	ldr	x8, [x8, _dpot_attrib_otp@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	w1, [x8, x22]
	mov	x0, x20
	bl	_sysfs_create_file
	orr	w21, w21, w0
LBB0_6:
	cbz	w21, LBB0_8
; %bb.7:
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_dev_err
LBB0_8:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_dpot_attrib_wipers,8,3         ; @dpot_attrib_wipers
	.comm	_F_CMD_EEP,4,2                  ; @F_CMD_EEP
	.comm	_dpot_attrib_eeprom,8,3         ; @dpot_attrib_eeprom
	.comm	_F_CMD_TOL,4,2                  ; @F_CMD_TOL
	.comm	_dpot_attrib_tolerance,8,3      ; @dpot_attrib_tolerance
	.comm	_F_CMD_OTP,4,2                  ; @F_CMD_OTP
	.comm	_dpot_attrib_otp_en,8,3         ; @dpot_attrib_otp_en
	.comm	_dpot_attrib_otp,8,3            ; @dpot_attrib_otp
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to register sysfs hooks for RDAC%d\n"

	.no_dead_strip	_ad_dpot_add_files
.subsections_via_symbols
