	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cas_disable_irq
_cas_disable_irq:                       ## @cas_disable_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testl	%esi, %esi
	je	LBB0_1
## %bb.3:
	movq	_CAS_FLAG_REG_PLUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_5
## %bb.4:
	movq	_INTRN_MASK_CLEAR_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	8(%rdi), %rbx
	movl	%esi, %edi
	callq	_REG_PLUS_INTRN_MASK
	addq	%rax, %rbx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	jmp	LBB0_2
LBB0_1:
	movq	_REG_INTR_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rdi), %rsi
	movl	$-1, %edi
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel                         ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_INTR_MASK,8,3              ## @REG_INTR_MASK
	.comm	_CAS_FLAG_REG_PLUS,4,2          ## @CAS_FLAG_REG_PLUS
	.comm	_INTRN_MASK_CLEAR_ALL,4,2       ## @INTRN_MASK_CLEAR_ALL
	.comm	_INTRN_MASK_RX_EN,4,2           ## @INTRN_MASK_RX_EN
	.no_dead_strip	_cas_disable_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cas_disable_irq
_cas_disable_irq:                       ; @cas_disable_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
	cbz	w1, LBB0_3
; %bb.1:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _CAS_FLAG_REG_PLUS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CAS_FLAG_REG_PLUS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _INTRN_MASK_CLEAR_ALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INTRN_MASK_CLEAR_ALL@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	ldr	x20, [x0, #8]
	mov	x0, x1
	bl	_REG_PLUS_INTRN_MASK
	add	x1, x0, x20
	mov	x0, x19
	b	LBB0_4
LBB0_3:
	ldr	x8, [x0, #8]
Lloh6:
	adrp	x9, _REG_INTR_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _REG_INTR_MASK@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_INTR_MASK,8,3              ; @REG_INTR_MASK
	.comm	_CAS_FLAG_REG_PLUS,4,2          ; @CAS_FLAG_REG_PLUS
	.comm	_INTRN_MASK_CLEAR_ALL,4,2       ; @INTRN_MASK_CLEAR_ALL
	.comm	_INTRN_MASK_RX_EN,4,2           ; @INTRN_MASK_RX_EN
	.no_dead_strip	_cas_disable_irq
.subsections_via_symbols
