	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i8259A_irq_real
_i8259A_irq_real:                       ## @i8259A_irq_real
	.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, %ecx
	movl	$1, %ebx
	shll	%cl, %ebx
	cmpl	$7, %edi
	ja	LBB0_2
## %bb.1:
	movq	_PIC_MASTER_CMD@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$11, %edi
	callq	_outb
	movl	(%r15), %edi
	callq	_inb
	movl	%eax, %r14d
	andl	%ebx, %r14d
	jmp	LBB0_3
LBB0_2:
	movq	_PIC_SLAVE_CMD@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$11, %edi
	callq	_outb
	movl	(%r15), %edi
	callq	_inb
	sarl	$8, %ebx
	andl	%eax, %ebx
	movl	%ebx, %r14d
LBB0_3:
	movl	(%r15), %esi
	movl	$10, %edi
	callq	_outb
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PIC_MASTER_CMD,4,2             ## @PIC_MASTER_CMD
	.comm	_PIC_SLAVE_CMD,4,2              ## @PIC_SLAVE_CMD
	.no_dead_strip	_i8259A_irq_real
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i8259A_irq_real
_i8259A_irq_real:                       ; @i8259A_irq_real
	.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	w8, #1
	lsl	w19, w8, w0
	cmp	w0, #7
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x20, _PIC_MASTER_CMD@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PIC_MASTER_CMD@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w0, #11
	bl	_outb
	ldr	w0, [x20]
	bl	_inb
	and	w19, w0, w19
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x20, _PIC_SLAVE_CMD@GOTPAGE
Lloh3:
	ldr	x20, [x20, _PIC_SLAVE_CMD@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w0, #11
	bl	_outb
	ldr	w0, [x20]
	bl	_inb
	and	w19, w0, w19, asr #8
LBB0_3:
	ldr	w1, [x20]
	mov	w0, #10
	bl	_outb
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_PIC_MASTER_CMD,4,2             ; @PIC_MASTER_CMD
	.comm	_PIC_SLAVE_CMD,4,2              ; @PIC_SLAVE_CMD
	.no_dead_strip	_i8259A_irq_real
.subsections_via_symbols
