	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v3d_irq_disable                ## -- Begin function v3d_irq_disable
	.p2align	4, 0x90
_v3d_irq_disable:                       ## @v3d_irq_disable
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpl	$0, (%rdi)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_V3D_CTL_INT_MSK_SET@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movl	%ebx, %edi
	movl	$-1, %edx
	callq	_V3D_CORE_WRITE
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_2
LBB0_3:
	movq	_V3D_HUB_INT_MSK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$-1, %esi
	callq	_V3D_WRITE
	cmpl	$0, (%r14)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	movq	_V3D_CTL_INT_CLR@GOTPCREL(%rip), %r15
	movq	_V3D_CORE_IRQS@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movl	(%r12), %edx
	movl	%ebx, %edi
	callq	_V3D_CORE_WRITE
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_5
LBB0_6:
	movq	_V3D_HUB_INT_CLR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_V3D_HUB_IRQS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_V3D_WRITE
	addq	$4, %r14
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cancel_work_sync               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V3D_CTL_INT_MSK_SET,4,2        ## @V3D_CTL_INT_MSK_SET
	.comm	_V3D_HUB_INT_MSK_SET,4,2        ## @V3D_HUB_INT_MSK_SET
	.comm	_V3D_CTL_INT_CLR,4,2            ## @V3D_CTL_INT_CLR
	.comm	_V3D_CORE_IRQS,4,2              ## @V3D_CORE_IRQS
	.comm	_V3D_HUB_INT_CLR,4,2            ## @V3D_HUB_INT_CLR
	.comm	_V3D_HUB_IRQS,4,2               ## @V3D_HUB_IRQS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v3d_irq_disable                ; -- Begin function v3d_irq_disable
	.p2align	2
_v3d_irq_disable:                       ; @v3d_irq_disable
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
Lloh0:
	adrp	x21, _V3D_CTL_INT_MSK_SET@GOTPAGE
Lloh1:
	ldr	x21, [x21, _V3D_CTL_INT_MSK_SET@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #-1
	bl	_V3D_CORE_WRITE
	add	w20, w20, #1
	ldr	w8, [x19]
	cmp	w20, w8
	b.lt	LBB0_2
LBB0_3:
Lloh2:
	adrp	x8, _V3D_HUB_INT_MSK_SET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _V3D_HUB_INT_MSK_SET@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	w1, #-1
	bl	_V3D_WRITE
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w20, #0
Lloh5:
	adrp	x21, _V3D_CTL_INT_CLR@GOTPAGE
Lloh6:
	ldr	x21, [x21, _V3D_CTL_INT_CLR@GOTPAGEOFF]
Lloh7:
	adrp	x22, _V3D_CORE_IRQS@GOTPAGE
Lloh8:
	ldr	x22, [x22, _V3D_CORE_IRQS@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_V3D_CORE_WRITE
	add	w20, w20, #1
	ldr	w8, [x19]
	cmp	w20, w8
	b.lt	LBB0_5
LBB0_6:
Lloh9:
	adrp	x8, _V3D_HUB_INT_CLR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V3D_HUB_INT_CLR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _V3D_HUB_IRQS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V3D_HUB_IRQS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_V3D_WRITE
	add	x0, x19, #4
	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	_cancel_work_sync
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_V3D_CTL_INT_MSK_SET,4,2        ; @V3D_CTL_INT_MSK_SET
	.comm	_V3D_HUB_INT_MSK_SET,4,2        ; @V3D_HUB_INT_MSK_SET
	.comm	_V3D_CTL_INT_CLR,4,2            ; @V3D_CTL_INT_CLR
	.comm	_V3D_CORE_IRQS,4,2              ; @V3D_CORE_IRQS
	.comm	_V3D_HUB_INT_CLR,4,2            ; @V3D_HUB_INT_CLR
	.comm	_V3D_HUB_IRQS,4,2               ; @V3D_HUB_IRQS
.subsections_via_symbols
