	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ad_sd_buffer_postdisable
_ad_sd_buffer_postdisable:              ## @ad_sd_buffer_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_iio_device_get_drvdata
	movq	%rax, %rbx
	leaq	24(%rax), %r14
	movq	%r14, %rdi
	callq	_reinit_completion
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wait_for_completion_timeout
	cmpl	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	16(%rbx), %rax
	movl	4(%rax), %edi
	callq	_disable_irq_nosync
	movl	$1, (%rbx)
LBB0_2:
	movl	$0, 4(%rbx)
	movq	_AD_SD_MODE_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ad_sigma_delta_set_mode
	movl	$0, 8(%rbx)
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spi_bus_unlock                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HZ,4,2                         ## @HZ
	.comm	_AD_SD_MODE_IDLE,4,2            ## @AD_SD_MODE_IDLE
	.no_dead_strip	_ad_sd_buffer_postdisable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ad_sd_buffer_postdisable
_ad_sd_buffer_postdisable:              ; @ad_sd_buffer_postdisable
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_iio_device_get_drvdata
	mov	x19, x0
	add	x20, x0, #24
	mov	x0, x20
	bl	_reinit_completion
Lloh0:
	adrp	x8, _HZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_wait_for_completion_timeout
	ldr	w8, [x19]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #4]
	bl	_disable_irq_nosync
	mov	w8, #1
	str	w8, [x19]
LBB0_2:
	str	wzr, [x19, #4]
Lloh3:
	adrp	x8, _AD_SD_MODE_IDLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AD_SD_MODE_IDLE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ad_sigma_delta_set_mode
	str	wzr, [x19, #8]
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spi_bus_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HZ,4,2                         ; @HZ
	.comm	_AD_SD_MODE_IDLE,4,2            ; @AD_SD_MODE_IDLE
	.no_dead_strip	_ad_sd_buffer_postdisable
.subsections_via_symbols
