	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_8259A
_init_8259A:                            ## @init_8259A
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_i8259A_auto_eoi@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	movq	_i8259A_lock@GOTPCREL(%rip), %rdi
	callq	_raw_spin_lock_irqsave
	movq	_PIC_MASTER_IMR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$255, %edi
	callq	_outb
	movq	_PIC_SLAVE_IMR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	$255, %edi
	callq	_outb
	movq	_PIC_MASTER_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$17, %edi
	callq	_outb_p
	movq	_I8259A_IRQ_BASE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	(%r15), %esi
	callq	_outb_p
	movq	_PIC_CASCADE_IR@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edi
	shll	%cl, %edi
	movl	(%r15), %esi
	callq	_outb_p
	testl	%ebx, %ebx
	movq	_PIC_ICW4_AEOI@GOTPCREL(%rip), %rax
	cmovnel	(%rax), %ebx
	movq	_disable_8259A_irq@GOTPCREL(%rip), %r13
	cmoveq	_mask_and_ack_8259A@GOTPCREL(%rip), %r13
	movq	_MASTER_ICW4_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%r15), %esi
	orl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_outb_p
	movq	_PIC_SLAVE_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$17, %edi
	callq	_outb_p
	movl	(%r14), %edi
	movl	(%r12), %esi
	addl	$8, %edi
	callq	_outb_p
	movq	_PIC_CASCADE_IR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	callq	_outb_p
	movq	_SLAVE_ICW4_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	callq	_outb_p
	movl	(%r13), %eax
	movq	_i8259A_chip@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$100, %edi
	callq	_udelay
	movq	_cached_master_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	callq	_outb
	movq	_cached_slave_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	callq	_outb
	movq	_i8259A_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_raw_spin_unlock_irqrestore     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_i8259A_auto_eoi,4,2            ## @i8259A_auto_eoi
	.comm	_i8259A_lock,4,2                ## @i8259A_lock
	.comm	_PIC_MASTER_IMR,4,2             ## @PIC_MASTER_IMR
	.comm	_PIC_SLAVE_IMR,4,2              ## @PIC_SLAVE_IMR
	.comm	_PIC_MASTER_CMD,4,2             ## @PIC_MASTER_CMD
	.comm	_I8259A_IRQ_BASE,4,2            ## @I8259A_IRQ_BASE
	.comm	_PIC_CASCADE_IR,4,2             ## @PIC_CASCADE_IR
	.comm	_MASTER_ICW4_DEFAULT,4,2        ## @MASTER_ICW4_DEFAULT
	.comm	_PIC_ICW4_AEOI,4,2              ## @PIC_ICW4_AEOI
	.comm	_PIC_SLAVE_CMD,4,2              ## @PIC_SLAVE_CMD
	.comm	_SLAVE_ICW4_DEFAULT,4,2         ## @SLAVE_ICW4_DEFAULT
	.comm	_disable_8259A_irq,4,2          ## @disable_8259A_irq
	.comm	_i8259A_chip,4,2                ## @i8259A_chip
	.comm	_mask_and_ack_8259A,4,2         ## @mask_and_ack_8259A
	.comm	_cached_master_mask,4,2         ## @cached_master_mask
	.comm	_cached_slave_mask,4,2          ## @cached_slave_mask
	.no_dead_strip	_init_8259A
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_8259A
_init_8259A:                            ; @init_8259A
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
Lloh0:
	adrp	x8, _i8259A_auto_eoi@GOTPAGE
Lloh1:
	ldr	x8, [x8, _i8259A_auto_eoi@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
Lloh3:
	adrp	x19, _i8259A_lock@GOTPAGE
Lloh4:
	ldr	x19, [x19, _i8259A_lock@GOTPAGEOFF]
	mov	x0, x19
	bl	_raw_spin_lock_irqsave
Lloh5:
	adrp	x21, _PIC_MASTER_IMR@GOTPAGE
Lloh6:
	ldr	x21, [x21, _PIC_MASTER_IMR@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w0, #255
	bl	_outb
Lloh7:
	adrp	x22, _PIC_SLAVE_IMR@GOTPAGE
Lloh8:
	ldr	x22, [x22, _PIC_SLAVE_IMR@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w0, #255
	bl	_outb
Lloh9:
	adrp	x8, _PIC_MASTER_CMD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PIC_MASTER_CMD@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w0, #17
	bl	_outb_p
Lloh12:
	adrp	x23, _I8259A_IRQ_BASE@GOTPAGE
Lloh13:
	ldr	x23, [x23, _I8259A_IRQ_BASE@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w1, [x21]
	bl	_outb_p
Lloh14:
	adrp	x24, _PIC_CASCADE_IR@GOTPAGE
Lloh15:
	ldr	x24, [x24, _PIC_CASCADE_IR@GOTPAGEOFF]
	ldr	w8, [x24]
	mov	w9, #1
	lsl	w0, w9, w8
	ldr	w1, [x21]
	bl	_outb_p
Lloh16:
	adrp	x8, _MASTER_ICW4_DEFAULT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MASTER_ICW4_DEFAULT@GOTPAGEOFF]
Lloh18:
	adrp	x9, _PIC_ICW4_AEOI@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PIC_ICW4_AEOI@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	ldr	w9, [x9]
	cmp	w20, #0
	csel	w9, wzr, w9, eq
	orr	w0, w8, w9
	ldr	w1, [x21]
Lloh22:
	adrp	x8, _mask_and_ack_8259A@GOTPAGE
Lloh23:
	ldr	x8, [x8, _mask_and_ack_8259A@GOTPAGEOFF]
Lloh24:
	adrp	x9, _disable_8259A_irq@GOTPAGE
Lloh25:
	ldr	x9, [x9, _disable_8259A_irq@GOTPAGEOFF]
	csel	x20, x8, x9, eq
	bl	_outb_p
Lloh26:
	adrp	x8, _PIC_SLAVE_CMD@GOTPAGE
Lloh27:
	ldr	x8, [x8, _PIC_SLAVE_CMD@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	w0, #17
	bl	_outb_p
	ldr	w8, [x23]
	add	w0, w8, #8
	ldr	w1, [x22]
	bl	_outb_p
	ldr	w0, [x24]
	ldr	w1, [x22]
	bl	_outb_p
Lloh29:
	adrp	x8, _SLAVE_ICW4_DEFAULT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SLAVE_ICW4_DEFAULT@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	ldr	w1, [x22]
	bl	_outb_p
	ldr	w8, [x20]
Lloh32:
	adrp	x9, _i8259A_chip@GOTPAGE
Lloh33:
	ldr	x9, [x9, _i8259A_chip@GOTPAGEOFF]
Lloh34:
	str	w8, [x9]
	mov	w0, #100
	bl	_udelay
Lloh35:
	adrp	x8, _cached_master_mask@GOTPAGE
Lloh36:
	ldr	x8, [x8, _cached_master_mask@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	ldr	w1, [x21]
	bl	_outb
Lloh38:
	adrp	x8, _cached_slave_mask@GOTPAGE
Lloh39:
	ldr	x8, [x8, _cached_slave_mask@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	ldr	w1, [x22]
	bl	_outb
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_raw_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotStr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh20
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_i8259A_auto_eoi,4,2            ; @i8259A_auto_eoi
	.comm	_i8259A_lock,4,2                ; @i8259A_lock
	.comm	_PIC_MASTER_IMR,4,2             ; @PIC_MASTER_IMR
	.comm	_PIC_SLAVE_IMR,4,2              ; @PIC_SLAVE_IMR
	.comm	_PIC_MASTER_CMD,4,2             ; @PIC_MASTER_CMD
	.comm	_I8259A_IRQ_BASE,4,2            ; @I8259A_IRQ_BASE
	.comm	_PIC_CASCADE_IR,4,2             ; @PIC_CASCADE_IR
	.comm	_MASTER_ICW4_DEFAULT,4,2        ; @MASTER_ICW4_DEFAULT
	.comm	_PIC_ICW4_AEOI,4,2              ; @PIC_ICW4_AEOI
	.comm	_PIC_SLAVE_CMD,4,2              ; @PIC_SLAVE_CMD
	.comm	_SLAVE_ICW4_DEFAULT,4,2         ; @SLAVE_ICW4_DEFAULT
	.comm	_disable_8259A_irq,4,2          ; @disable_8259A_irq
	.comm	_i8259A_chip,4,2                ; @i8259A_chip
	.comm	_mask_and_ack_8259A,4,2         ; @mask_and_ack_8259A
	.comm	_cached_master_mask,4,2         ; @cached_master_mask
	.comm	_cached_slave_mask,4,2          ; @cached_slave_mask
	.no_dead_strip	_init_8259A
.subsections_via_symbols
