	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r852_disable_irqs
_r852_disable_irqs:                     ## @r852_disable_irqs
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_R852_CARD_IRQ_ENABLE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_r852_read_reg
	movl	(%r14), %esi
	movq	_R852_CARD_IRQ_MASK@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%rbx, %rdi
	callq	_r852_write_reg
	movq	_R852_DMA_IRQ_ENABLE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_r852_read_reg_dword
	movl	(%r15), %esi
	movq	_R852_DMA_IRQ_MASK@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%rbx, %rdi
	callq	_r852_write_reg_dword
	movq	_R852_CARD_IRQ_STA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_r852_write_reg
	movq	_R852_DMA_IRQ_STA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_r852_write_reg_dword           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_R852_CARD_IRQ_ENABLE,4,2       ## @R852_CARD_IRQ_ENABLE
	.comm	_R852_CARD_IRQ_MASK,4,2         ## @R852_CARD_IRQ_MASK
	.comm	_R852_DMA_IRQ_ENABLE,4,2        ## @R852_DMA_IRQ_ENABLE
	.comm	_R852_DMA_IRQ_MASK,4,2          ## @R852_DMA_IRQ_MASK
	.comm	_R852_CARD_IRQ_STA,4,2          ## @R852_CARD_IRQ_STA
	.comm	_R852_DMA_IRQ_STA,4,2           ## @R852_DMA_IRQ_STA
	.no_dead_strip	_r852_disable_irqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r852_disable_irqs
_r852_disable_irqs:                     ; @r852_disable_irqs
	.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	x19, x0
Lloh0:
	adrp	x20, _R852_CARD_IRQ_ENABLE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _R852_CARD_IRQ_ENABLE@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_r852_read_reg
	ldr	w1, [x20]
Lloh2:
	adrp	x20, _R852_CARD_IRQ_MASK@GOTPAGE
Lloh3:
	ldr	x20, [x20, _R852_CARD_IRQ_MASK@GOTPAGEOFF]
	ldr	w8, [x20]
	bic	w2, w0, w8
	mov	x0, x19
	bl	_r852_write_reg
Lloh4:
	adrp	x21, _R852_DMA_IRQ_ENABLE@GOTPAGE
Lloh5:
	ldr	x21, [x21, _R852_DMA_IRQ_ENABLE@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_r852_read_reg_dword
	ldr	w1, [x21]
Lloh6:
	adrp	x21, _R852_DMA_IRQ_MASK@GOTPAGE
Lloh7:
	ldr	x21, [x21, _R852_DMA_IRQ_MASK@GOTPAGEOFF]
	ldr	w8, [x21]
	bic	w2, w0, w8
	mov	x0, x19
	bl	_r852_write_reg_dword
Lloh8:
	adrp	x8, _R852_CARD_IRQ_STA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _R852_CARD_IRQ_STA@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_r852_write_reg
Lloh11:
	adrp	x8, _R852_DMA_IRQ_STA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _R852_DMA_IRQ_STA@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x21]
	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	_r852_write_reg_dword
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_R852_CARD_IRQ_ENABLE,4,2       ; @R852_CARD_IRQ_ENABLE
	.comm	_R852_CARD_IRQ_MASK,4,2         ; @R852_CARD_IRQ_MASK
	.comm	_R852_DMA_IRQ_ENABLE,4,2        ; @R852_DMA_IRQ_ENABLE
	.comm	_R852_DMA_IRQ_MASK,4,2          ; @R852_DMA_IRQ_MASK
	.comm	_R852_CARD_IRQ_STA,4,2          ; @R852_CARD_IRQ_STA
	.comm	_R852_DMA_IRQ_STA,4,2           ; @R852_DMA_IRQ_STA
	.no_dead_strip	_r852_disable_irqs
.subsections_via_symbols
