	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ad_dpot_remove                 ## -- Begin function ad_dpot_remove
	.p2align	4, 0x90
_ad_dpot_remove:                        ## @ad_dpot_remove
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movq	_DPOT_RDAC0@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_MAX_RDACS@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, %ebx
	jge	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %ecx
	btl	%ebx, %ecx
	jae	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_ad_dpot_remove_files
	movl	(%r12), %eax
	jmp	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	callq	_kfree
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPOT_RDAC0,4,2                 ## @DPOT_RDAC0
	.comm	_MAX_RDACS,4,2                  ## @MAX_RDACS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ad_dpot_remove                 ; -- Begin function ad_dpot_remove
	.p2align	2
_ad_dpot_remove:                        ; @ad_dpot_remove
	.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_drvdata
	mov	x20, x0
Lloh0:
	adrp	x8, _DPOT_RDAC0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DPOT_RDAC0@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x22, _MAX_RDACS@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MAX_RDACS@GOTPAGEOFF]
	ldr	w8, [x22]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w21, w21, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w21, w8
	b.ge	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x20]
	lsr	w9, w9, w21
	tbz	w9, #0, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x20, #4]
	mov	x0, x19
	mov	x2, x21
	bl	_ad_dpot_remove_files
	ldr	w8, [x22]
	b	LBB0_1
LBB0_5:
	mov	x0, x20
	bl	_kfree
	mov	w0, #0
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DPOT_RDAC0,4,2                 ; @DPOT_RDAC0
	.comm	_MAX_RDACS,4,2                  ; @MAX_RDACS
.subsections_via_symbols
