	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_disable_8259A_irq              ## -- Begin function disable_8259A_irq
	.p2align	4, 0x90
_disable_8259A_irq:                     ## @disable_8259A_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	movl	$1, %ebx
	movl	%r15d, %ecx
	shll	%cl, %ebx
	movq	_i8259A_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_cached_irq_mask@GOTPCREL(%rip), %rax
	orl	%ebx, (%rax)
	testb	$8, %r15b
	movq	_cached_slave_mask@GOTPCREL(%rip), %rax
	cmoveq	_cached_master_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PIC_SLAVE_IMR@GOTPCREL(%rip), %rax
	cmoveq	_PIC_MASTER_IMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_outb
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_i8259A_lock,4,2                ## @i8259A_lock
	.comm	_cached_irq_mask,4,2            ## @cached_irq_mask
	.comm	_cached_slave_mask,4,2          ## @cached_slave_mask
	.comm	_PIC_SLAVE_IMR,4,2              ## @PIC_SLAVE_IMR
	.comm	_cached_master_mask,4,2         ## @cached_master_mask
	.comm	_PIC_MASTER_IMR,4,2             ## @PIC_MASTER_IMR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_disable_8259A_irq              ; -- Begin function disable_8259A_irq
	.p2align	2
_disable_8259A_irq:                     ; @disable_8259A_irq
	.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
	mov	w8, #1
	lsl	w21, w8, w0
Lloh0:
	adrp	x20, _i8259A_lock@GOTPAGE
Lloh1:
	ldr	x20, [x20, _i8259A_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh2:
	adrp	x8, _cached_irq_mask@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cached_irq_mask@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, w21
Lloh4:
	adrp	x10, _cached_master_mask@GOTPAGE
Lloh5:
	ldr	x10, [x10, _cached_master_mask@GOTPAGEOFF]
	str	w9, [x8]
Lloh6:
	adrp	x8, _cached_slave_mask@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cached_slave_mask@GOTPAGEOFF]
	tst	w19, #0x8
	csel	x8, x10, x8, eq
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _PIC_MASTER_IMR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PIC_MASTER_IMR@GOTPAGEOFF]
Lloh10:
	adrp	x9, _PIC_SLAVE_IMR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PIC_SLAVE_IMR@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	bl	_outb
	mov	x0, x20
	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	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_i8259A_lock,4,2                ; @i8259A_lock
	.comm	_cached_irq_mask,4,2            ; @cached_irq_mask
	.comm	_cached_slave_mask,4,2          ; @cached_slave_mask
	.comm	_PIC_SLAVE_IMR,4,2              ; @PIC_SLAVE_IMR
	.comm	_cached_master_mask,4,2         ; @cached_master_mask
	.comm	_PIC_MASTER_IMR,4,2             ; @PIC_MASTER_IMR
.subsections_via_symbols
