	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iadc_reset
_iadc_reset:                            ## @iadc_reset
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_IADC_SEC_ACCESS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_IADC_SEC_ACCESS_DATA@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_iadc_write
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movq	_IADC_PERH_RESET_CTL3@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_iadc_read
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_iadc_write
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movq	_IADC_FOLLOW_WARM_RB@GOTPCREL(%rip), %rax
	movl	-36(%rbp), %edx
	orl	(%rax), %edx
	movl	%edx, -36(%rbp)
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_iadc_write
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IADC_SEC_ACCESS,4,2            ## @IADC_SEC_ACCESS
	.comm	_IADC_SEC_ACCESS_DATA,4,2       ## @IADC_SEC_ACCESS_DATA
	.comm	_IADC_PERH_RESET_CTL3,4,2       ## @IADC_PERH_RESET_CTL3
	.comm	_IADC_FOLLOW_WARM_RB,4,2        ## @IADC_FOLLOW_WARM_RB
	.no_dead_strip	_iadc_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iadc_reset
_iadc_reset:                            ; @iadc_reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _IADC_SEC_ACCESS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IADC_SEC_ACCESS@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _IADC_SEC_ACCESS_DATA@GOTPAGE
Lloh3:
	ldr	x22, [x22, _IADC_SEC_ACCESS_DATA@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_iadc_write
	tbnz	w0, #31, LBB0_4
; %bb.1:
Lloh4:
	adrp	x20, _IADC_PERH_RESET_CTL3@GOTPAGE
Lloh5:
	ldr	x20, [x20, _IADC_PERH_RESET_CTL3@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	mov	x0, x19
	bl	_iadc_read
	tbnz	w0, #31, LBB0_4
; %bb.2:
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_iadc_write
	tbnz	w0, #31, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _IADC_FOLLOW_WARM_RB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IADC_FOLLOW_WARM_RB@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_iadc_write
LBB0_4:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IADC_SEC_ACCESS,4,2            ; @IADC_SEC_ACCESS
	.comm	_IADC_SEC_ACCESS_DATA,4,2       ; @IADC_SEC_ACCESS_DATA
	.comm	_IADC_PERH_RESET_CTL3,4,2       ; @IADC_PERH_RESET_CTL3
	.comm	_IADC_FOLLOW_WARM_RB,4,2        ; @IADC_FOLLOW_WARM_RB
	.no_dead_strip	_iadc_reset
.subsections_via_symbols
