	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xadc_postdisable
_xadc_postdisable:                      ## @xadc_postdisable
	.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, %r15
	callq	_iio_priv
	movq	%rax, %r14
	cmpl	$0, (%r15)
	jle	LBB0_1
## %bb.2:
	movl	$1, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_BIT
	orq	%rax, %r12
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movl	$1, %r12d
LBB0_4:
	xorl	%edi, %edi
	callq	_XADC_REG_SEQ
	movzwl	%r12w, %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_xadc_write_adc_reg
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movl	$1, %edi
	callq	_XADC_REG_SEQ
	shrq	$16, %r12
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r12, %rdx
	callq	_xadc_write_adc_reg
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	_XADC_REG_CONF1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_XADC_CONF1_SEQ_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_XADC_CONF1_SEQ_CONTINUOUS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	callq	_xadc_update_adc_reg
	testl	%eax, %eax
	je	LBB0_8
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xadc_power_adc_b               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XADC_REG_CONF1,4,2             ## @XADC_REG_CONF1
	.comm	_XADC_CONF1_SEQ_MASK,4,2        ## @XADC_CONF1_SEQ_MASK
	.comm	_XADC_CONF1_SEQ_CONTINUOUS,4,2  ## @XADC_CONF1_SEQ_CONTINUOUS
	.no_dead_strip	_xadc_postdisable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xadc_postdisable
_xadc_postdisable:                      ; @xadc_postdisable
	.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	x20, x0
	bl	_iio_priv
	mov	x19, x0
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
	mov	w21, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x22, lsl #2]
	bl	_BIT
	orr	x21, x0, x21
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.lt	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w21, #1
LBB0_4:
	mov	w0, #0
	bl	_XADC_REG_SEQ
	mov	x1, x0
	and	x2, x21, #0xffff
	mov	x0, x19
	bl	_xadc_write_adc_reg
	cbnz	w0, LBB0_7
; %bb.5:
	mov	w0, #1
	bl	_XADC_REG_SEQ
	mov	x1, x0
	lsr	x2, x21, #16
	mov	x0, x19
	bl	_xadc_write_adc_reg
	cbnz	w0, LBB0_7
; %bb.6:
Lloh0:
	adrp	x8, _XADC_REG_CONF1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XADC_REG_CONF1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _XADC_CONF1_SEQ_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XADC_CONF1_SEQ_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x20, _XADC_CONF1_SEQ_CONTINUOUS@GOTPAGE
Lloh7:
	ldr	x20, [x20, _XADC_CONF1_SEQ_CONTINUOUS@GOTPAGEOFF]
	ldr	w3, [x20]
	mov	x0, x19
	bl	_xadc_update_adc_reg
	cbz	w0, LBB0_8
LBB0_7:
	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
LBB0_8:
	ldr	w1, [x20]
	mov	x0, x19
	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
	b	_xadc_power_adc_b
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XADC_REG_CONF1,4,2             ; @XADC_REG_CONF1
	.comm	_XADC_CONF1_SEQ_MASK,4,2        ; @XADC_CONF1_SEQ_MASK
	.comm	_XADC_CONF1_SEQ_CONTINUOUS,4,2  ; @XADC_CONF1_SEQ_CONTINUOUS
	.no_dead_strip	_xadc_postdisable
.subsections_via_symbols
