	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa2xx_ac97_irq
_pxa2xx_ac97_irq:                       ## @pxa2xx_ac97_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_GSR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_gsr_bits@GOTPCREL(%rip), %rcx
	orq	%rax, (%rcx)
	movq	_gsr_wq@GOTPCREL(%rip), %rdi
	callq	_wake_up
	xorl	%eax, %eax
	callq	_cpu_is_pxa27x
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_MISR_EOC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MISR@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movq	_PISR_EOC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_PISR@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movq	_MCSR_EOC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MCSR@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	jmp	LBB0_4
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSR,8,3                        ## @GSR
	.comm	_gsr_bits,8,3                   ## @gsr_bits
	.comm	_gsr_wq,4,2                     ## @gsr_wq
	.comm	_MISR_EOC,4,2                   ## @MISR_EOC
	.comm	_MISR,4,2                       ## @MISR
	.comm	_PISR_EOC,4,2                   ## @PISR_EOC
	.comm	_PISR,4,2                       ## @PISR
	.comm	_MCSR_EOC,4,2                   ## @MCSR_EOC
	.comm	_MCSR,4,2                       ## @MCSR
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_pxa2xx_ac97_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa2xx_ac97_irq
_pxa2xx_ac97_irq:                       ; @pxa2xx_ac97_irq
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _GSR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, _gsr_bits@GOTPAGE
Lloh4:
	ldr	x9, [x9, _gsr_bits@GOTPAGEOFF]
	ldr	x10, [x9]
	orr	x8, x10, x8
	str	x8, [x9]
Lloh5:
	adrp	x0, _gsr_wq@GOTPAGE
Lloh6:
	ldr	x0, [x0, _gsr_wq@GOTPAGEOFF]
	bl	_wake_up
	bl	_cpu_is_pxa27x
	cbz	x0, LBB0_3
; %bb.2:
Lloh7:
	adrp	x8, _MISR_EOC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MISR_EOC@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _MISR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MISR@GOTPAGEOFF]
Lloh12:
	str	w8, [x9]
Lloh13:
	adrp	x8, _PISR_EOC@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PISR_EOC@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _PISR@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PISR@GOTPAGEOFF]
Lloh18:
	str	w8, [x9]
Lloh19:
	adrp	x8, _MCSR_EOC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MCSR_EOC@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _MCSR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _MCSR@GOTPAGEOFF]
Lloh24:
	str	w8, [x9]
LBB0_3:
Lloh25:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh27:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_GSR,8,3                        ; @GSR
	.comm	_gsr_bits,8,3                   ; @gsr_bits
	.comm	_gsr_wq,4,2                     ; @gsr_wq
	.comm	_MISR_EOC,4,2                   ; @MISR_EOC
	.comm	_MISR,4,2                       ; @MISR
	.comm	_PISR_EOC,4,2                   ; @PISR_EOC
	.comm	_PISR,4,2                       ; @PISR
	.comm	_MCSR_EOC,4,2                   ; @MCSR_EOC
	.comm	_MCSR,4,2                       ; @MCSR
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_pxa2xx_ac97_irq
.subsections_via_symbols
