	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atpic_reset                    ## -- Begin function atpic_reset
	.p2align	4, 0x90
_atpic_reset:                           ## @atpic_reset
	.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
	movq	_IO_ICU1@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	_ICW1_RESET@GOTPCREL(%rip), %rax
	movq	_ICW1_IC4@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_outb
	movq	_ICU_IMR_OFFSET@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	(%r12), %rdi
	movq	_IDT_IO_INTS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_outb
	movq	(%r14), %rbx
	addq	(%r12), %rbx
	movq	_ICU_SLAVEID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IRQ_MASK
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_outb
	movq	(%r14), %rdi
	addq	(%r12), %rdi
	movq	_MASTER_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_outb
	movq	(%r14), %rdi
	addq	(%r12), %rdi
	movl	$255, %esi
	callq	_outb
	movq	(%r12), %rdi
	movq	_OCW3_SEL@GOTPCREL(%rip), %rbx
	movq	_OCW3_RR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	orl	(%rbx), %esi
	callq	_outb
	movq	_IO_ICU2@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movq	_ICW1_IC4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ICW1_RESET@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_outb
	movq	(%r14), %rdi
	addq	(%r13), %rdi
	movl	(%r15), %esi
	addl	$8, %esi
	callq	_outb
	movq	(%r14), %rdi
	addq	(%r13), %rdi
	movq	_ICU_SLAVEID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_outb
	movq	(%r14), %rdi
	addq	(%r13), %rdi
	movq	_SLAVE_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_outb
	movq	(%r14), %rdi
	addq	(%r13), %rdi
	movl	$255, %esi
	callq	_outb
	movq	(%r13), %rdi
	movl	(%r12), %esi
	orl	(%rbx), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_outb                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IO_ICU1,8,3                    ## @IO_ICU1
	.comm	_ICW1_RESET,4,2                 ## @ICW1_RESET
	.comm	_ICW1_IC4,4,2                   ## @ICW1_IC4
	.comm	_ICU_IMR_OFFSET,8,3             ## @ICU_IMR_OFFSET
	.comm	_IDT_IO_INTS,4,2                ## @IDT_IO_INTS
	.comm	_ICU_SLAVEID,4,2                ## @ICU_SLAVEID
	.comm	_MASTER_MODE,4,2                ## @MASTER_MODE
	.comm	_OCW3_SEL,4,2                   ## @OCW3_SEL
	.comm	_OCW3_RR,4,2                    ## @OCW3_RR
	.comm	_IO_ICU2,8,3                    ## @IO_ICU2
	.comm	_SLAVE_MODE,4,2                 ## @SLAVE_MODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atpic_reset                    ; -- Begin function atpic_reset
	.p2align	2
_atpic_reset:                           ; @atpic_reset
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x25, _IO_ICU1@GOTPAGE
Lloh1:
	ldr	x25, [x25, _IO_ICU1@GOTPAGEOFF]
Lloh2:
	adrp	x21, _ICW1_RESET@GOTPAGE
Lloh3:
	ldr	x21, [x21, _ICW1_RESET@GOTPAGEOFF]
	ldr	x0, [x25]
	ldr	w8, [x21]
Lloh4:
	adrp	x22, _ICW1_IC4@GOTPAGE
Lloh5:
	ldr	x22, [x22, _ICW1_IC4@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w1, w9, w8
	bl	_outb
Lloh6:
	adrp	x20, _ICU_IMR_OFFSET@GOTPAGE
Lloh7:
	ldr	x20, [x20, _ICU_IMR_OFFSET@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x9, [x20]
	add	x0, x9, x8
Lloh8:
	adrp	x23, _IDT_IO_INTS@GOTPAGE
Lloh9:
	ldr	x23, [x23, _IDT_IO_INTS@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_outb
	ldr	x8, [x25]
	ldr	x9, [x20]
	add	x19, x9, x8
Lloh10:
	adrp	x24, _ICU_SLAVEID@GOTPAGE
Lloh11:
	ldr	x24, [x24, _ICU_SLAVEID@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_IRQ_MASK
	mov	x1, x0
	mov	x0, x19
	bl	_outb
	ldr	x8, [x25]
	ldr	x9, [x20]
	add	x0, x9, x8
Lloh12:
	adrp	x8, _MASTER_MODE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MASTER_MODE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_outb
	ldr	x8, [x25]
	ldr	x9, [x20]
	add	x0, x9, x8
	mov	w1, #255
	bl	_outb
Lloh15:
	adrp	x19, _OCW3_SEL@GOTPAGE
Lloh16:
	ldr	x19, [x19, _OCW3_SEL@GOTPAGEOFF]
	ldr	x0, [x25]
	ldr	w8, [x19]
Lloh17:
	adrp	x25, _OCW3_RR@GOTPAGE
Lloh18:
	ldr	x25, [x25, _OCW3_RR@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w1, w9, w8
	bl	_outb
Lloh19:
	adrp	x26, _IO_ICU2@GOTPAGE
Lloh20:
	ldr	x26, [x26, _IO_ICU2@GOTPAGEOFF]
	ldr	x0, [x26]
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w1, w9, w8
	bl	_outb
	ldr	x8, [x26]
	ldr	x9, [x20]
	add	x0, x9, x8
	ldr	w8, [x23]
	add	w1, w8, #8
	bl	_outb
	ldr	x8, [x26]
	ldr	x9, [x20]
	add	x0, x9, x8
	ldr	w1, [x24]
	bl	_outb
	ldr	x8, [x26]
	ldr	x9, [x20]
	add	x0, x9, x8
Lloh21:
	adrp	x8, _SLAVE_MODE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SLAVE_MODE@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_outb
	ldr	x8, [x26]
	ldr	x9, [x20]
	add	x0, x9, x8
	mov	w1, #255
	bl	_outb
	ldr	x0, [x26]
	ldr	w8, [x19]
	ldr	w9, [x25]
	orr	w1, w9, w8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_outb
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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	_IO_ICU1,8,3                    ; @IO_ICU1
	.comm	_ICW1_RESET,4,2                 ; @ICW1_RESET
	.comm	_ICW1_IC4,4,2                   ; @ICW1_IC4
	.comm	_ICU_IMR_OFFSET,8,3             ; @ICU_IMR_OFFSET
	.comm	_IDT_IO_INTS,4,2                ; @IDT_IO_INTS
	.comm	_ICU_SLAVEID,4,2                ; @ICU_SLAVEID
	.comm	_MASTER_MODE,4,2                ; @MASTER_MODE
	.comm	_OCW3_SEL,4,2                   ; @OCW3_SEL
	.comm	_OCW3_RR,4,2                    ; @OCW3_RR
	.comm	_IO_ICU2,8,3                    ; @IO_ICU2
	.comm	_SLAVE_MODE,4,2                 ; @SLAVE_MODE
.subsections_via_symbols
