	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arm_mask_irq                   ## -- Begin function arm_mask_irq
	.p2align	4, 0x90
_arm_mask_irq:                          ## @arm_mask_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpq	$31, %rdi
	ja	LBB0_1
## %bb.8:
	xorl	%eax, %eax
	callq	_mv_ic_get_mask
	btrl	%ebx, %eax
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mv_ic_set_mask                 ## TAILCALL
LBB0_1:
	cmpq	$63, %rbx
	ja	LBB0_4
## %bb.2:
	movq	_mv_ic_sc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_6
## %bb.3:
	xorl	%eax, %eax
	callq	_mv_ic_get_mask_hi
	addb	$-32, %bl
	btrl	%ebx, %eax
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mv_ic_set_mask_hi              ## TAILCALL
LBB0_4:
	cmpq	$95, %rbx
	ja	LBB0_7
## %bb.5:
	movq	_mv_ic_sc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.9:
	xorl	%eax, %eax
	callq	_mv_ic_get_mask_error
	addb	$-64, %bl
	btrl	%ebx, %eax
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mv_ic_set_mask_error           ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mv_ic_sc,8,3                   ## @mv_ic_sc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arm_mask_irq                   ; -- Begin function arm_mask_irq
	.p2align	2
_arm_mask_irq:                          ; @arm_mask_irq
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	x0, #31
	b.hi	LBB0_2
; %bb.1:
	bl	_mv_ic_get_mask
	mov	w8, #1
	lsl	w8, w8, w19
	bic	w0, w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mv_ic_set_mask
LBB0_2:
	cmp	x19, #63
	b.hi	LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _mv_ic_sc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mv_ic_sc@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_7
; %bb.4:
	bl	_mv_ic_get_mask_hi
	mov	w8, #1
	lsl	w8, w8, w19
	bic	w0, w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mv_ic_set_mask_hi
LBB0_5:
	cmp	x19, #95
	b.hi	LBB0_9
; %bb.6:
Lloh3:
	adrp	x8, _mv_ic_sc@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mv_ic_sc@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
LBB0_7:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.8:
	bl	_mv_ic_get_mask_error
	mov	w8, #1
	lsl	w8, w8, w19
	bic	w0, w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mv_ic_set_mask_error
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_mv_ic_sc,8,3                   ; @mv_ic_sc
.subsections_via_symbols
