	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function azx_int_clear
_azx_int_clear:                         ## @azx_int_clear
	.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
	movq	%rdi, %r14
	cmpl	$0, (%rdi)
	jle	LBB0_3
## %bb.1:
	xorl	%r13d, %r13d
	movq	_SD_STS@GOTPCREL(%rip), %r15
	movq	_SD_INT_MASK@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	addq	%r13, %rdi
	movl	(%r15), %esi
	movl	(%r12), %edx
	callq	_azx_sd_writeb
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_STATESTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_STATESTS_INT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_azx_writeb
	movq	_RIRBSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RIRB_INT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_azx_writeb
	movq	_INTSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ICH6_INT_CTRL_EN@GOTPCREL(%rip), %rax
	movq	_ICH6_INT_ALL_STREAM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_azx_writel                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SD_STS,4,2                     ## @SD_STS
	.comm	_SD_INT_MASK,4,2                ## @SD_INT_MASK
	.comm	_STATESTS,4,2                   ## @STATESTS
	.comm	_STATESTS_INT_MASK,4,2          ## @STATESTS_INT_MASK
	.comm	_RIRBSTS,4,2                    ## @RIRBSTS
	.comm	_RIRB_INT_MASK,4,2              ## @RIRB_INT_MASK
	.comm	_INTSTS,4,2                     ## @INTSTS
	.comm	_ICH6_INT_CTRL_EN,4,2           ## @ICH6_INT_CTRL_EN
	.comm	_ICH6_INT_ALL_STREAM,4,2        ## @ICH6_INT_ALL_STREAM
	.no_dead_strip	_azx_int_clear
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function azx_int_clear
_azx_int_clear:                         ; @azx_int_clear
	.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, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
	mov	x21, #0
Lloh0:
	adrp	x22, _SD_STS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SD_STS@GOTPAGEOFF]
Lloh2:
	adrp	x23, _SD_INT_MASK@GOTPAGE
Lloh3:
	ldr	x23, [x23, _SD_INT_MASK@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x20
	ldr	w1, [x22]
	ldr	w2, [x23]
	bl	_azx_sd_writeb
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #4
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
Lloh4:
	adrp	x8, _STATESTS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _STATESTS@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _STATESTS_INT_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _STATESTS_INT_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_azx_writeb
Lloh10:
	adrp	x8, _RIRBSTS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RIRBSTS@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _RIRB_INT_MASK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RIRB_INT_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_azx_writeb
Lloh16:
	adrp	x8, _INTSTS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _INTSTS@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _ICH6_INT_CTRL_EN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ICH6_INT_CTRL_EN@GOTPAGEOFF]
Lloh21:
	adrp	x9, _ICH6_INT_ALL_STREAM@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ICH6_INT_ALL_STREAM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	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
	b	_azx_writel
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SD_STS,4,2                     ; @SD_STS
	.comm	_SD_INT_MASK,4,2                ; @SD_INT_MASK
	.comm	_STATESTS,4,2                   ; @STATESTS
	.comm	_STATESTS_INT_MASK,4,2          ; @STATESTS_INT_MASK
	.comm	_RIRBSTS,4,2                    ; @RIRBSTS
	.comm	_RIRB_INT_MASK,4,2              ; @RIRB_INT_MASK
	.comm	_INTSTS,4,2                     ; @INTSTS
	.comm	_ICH6_INT_CTRL_EN,4,2           ; @ICH6_INT_CTRL_EN
	.comm	_ICH6_INT_ALL_STREAM,4,2        ; @ICH6_INT_ALL_STREAM
	.no_dead_strip	_azx_int_clear
.subsections_via_symbols
