	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function disable_8259A_irq
_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	(%rdi), %ebx
	movq	_I8259A_IRQ_BASE@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	$1, %r15d
	movl	%ebx, %ecx
	shll	%cl, %r15d
	movq	_i8259A_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_raw_spin_lock_irqsave
	movq	_cached_irq_mask@GOTPCREL(%rip), %rax
	orl	%r15d, (%rax)
	testb	$8, %bl
	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	_raw_spin_unlock_irqrestore     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I8259A_IRQ_BASE,4,2            ## @I8259A_IRQ_BASE
	.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
	.no_dead_strip	_disable_8259A_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function disable_8259A_irq
_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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _I8259A_IRQ_BASE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I8259A_IRQ_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w20, w8, w9
	mov	w8, #1
	lsl	w21, w8, w20
Lloh3:
	adrp	x19, _i8259A_lock@GOTPAGE
Lloh4:
	ldr	x19, [x19, _i8259A_lock@GOTPAGEOFF]
	mov	x0, x19
	bl	_raw_spin_lock_irqsave
Lloh5:
	adrp	x8, _cached_irq_mask@GOTPAGE
Lloh6:
	ldr	x8, [x8, _cached_irq_mask@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, w21
Lloh7:
	adrp	x10, _cached_master_mask@GOTPAGE
Lloh8:
	ldr	x10, [x10, _cached_master_mask@GOTPAGEOFF]
	str	w9, [x8]
Lloh9:
	adrp	x8, _cached_slave_mask@GOTPAGE
Lloh10:
	ldr	x8, [x8, _cached_slave_mask@GOTPAGEOFF]
	tst	w20, #0x8
	csel	x8, x10, x8, eq
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _PIC_MASTER_IMR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PIC_MASTER_IMR@GOTPAGEOFF]
Lloh13:
	adrp	x9, _PIC_SLAVE_IMR@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PIC_SLAVE_IMR@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	bl	_outb
	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	_raw_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I8259A_IRQ_BASE,4,2            ; @I8259A_IRQ_BASE
	.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
	.no_dead_strip	_disable_8259A_irq
.subsections_via_symbols
