	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SetVectors
_SetVectors:                            ## @SetVectors
	.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
	movq	_SBIRQHandler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SBIHRM@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	movq	_SBIH@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	xorl	%eax, %eax
	callq	__my_cs
	movl	%eax, 4(%rbx)
	movl	%eax, 4(%r14)
	movq	_IVector@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_SBIHRMOld@GOTPCREL(%rip), %rsi
	callq	__go32_dpmi_get_real_mode_interrupt_vector
	movq	_SBIHRMRegs@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	__go32_dpmi_allocate_real_mode_callback_iret
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	__go32_dpmi_set_real_mode_interrupt_vector
	movl	(%r15), %edi
	movq	_SBIHOld@GOTPCREL(%rip), %rsi
	callq	__go32_dpmi_get_protected_mode_interrupt_vector
	movq	%r14, %rdi
	callq	__go32_dpmi_allocate_iret_wrapper
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	__go32_dpmi_set_protected_mode_interrupt_vector
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SBIRQHandler,8,3               ## @SBIRQHandler
	.comm	_SBIHRM,8,2                     ## @SBIHRM
	.comm	_SBIH,8,2                       ## @SBIH
	.comm	_IVector,4,2                    ## @IVector
	.comm	_SBIHRMOld,4,2                  ## @SBIHRMOld
	.comm	_SBIHRMRegs,4,2                 ## @SBIHRMRegs
	.comm	_SBIHOld,4,2                    ## @SBIHOld
	.no_dead_strip	_SetVectors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetVectors
_SetVectors:                            ; @SetVectors
	.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
Lloh0:
	adrp	x8, _SBIRQHandler@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SBIRQHandler@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x19, _SBIHRM@GOTPAGE
Lloh4:
	ldr	x19, [x19, _SBIHRM@GOTPAGEOFF]
	str	w8, [x19]
Lloh5:
	adrp	x20, _SBIH@GOTPAGE
Lloh6:
	ldr	x20, [x20, _SBIH@GOTPAGEOFF]
	str	w8, [x20]
	bl	__my_cs
	str	w0, [x19, #4]
	str	w0, [x20, #4]
Lloh7:
	adrp	x21, _IVector@GOTPAGE
Lloh8:
	ldr	x21, [x21, _IVector@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh9:
	adrp	x1, _SBIHRMOld@GOTPAGE
Lloh10:
	ldr	x1, [x1, _SBIHRMOld@GOTPAGEOFF]
	bl	__go32_dpmi_get_real_mode_interrupt_vector
Lloh11:
	adrp	x1, _SBIHRMRegs@GOTPAGE
Lloh12:
	ldr	x1, [x1, _SBIHRMRegs@GOTPAGEOFF]
	mov	x0, x19
	bl	__go32_dpmi_allocate_real_mode_callback_iret
	ldr	w0, [x21]
	mov	x1, x19
	bl	__go32_dpmi_set_real_mode_interrupt_vector
	ldr	w0, [x21]
Lloh13:
	adrp	x1, _SBIHOld@GOTPAGE
Lloh14:
	ldr	x1, [x1, _SBIHOld@GOTPAGEOFF]
	bl	__go32_dpmi_get_protected_mode_interrupt_vector
	mov	x0, x20
	bl	__go32_dpmi_allocate_iret_wrapper
	ldr	w0, [x21]
	mov	x1, x20
	bl	__go32_dpmi_set_protected_mode_interrupt_vector
	mov	w0, #1
	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
	ret
	.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	_SBIRQHandler,8,3               ; @SBIRQHandler
	.comm	_SBIHRM,8,2                     ; @SBIHRM
	.comm	_SBIH,8,2                       ; @SBIH
	.comm	_IVector,4,2                    ; @IVector
	.comm	_SBIHRMOld,4,2                  ; @SBIHRMOld
	.comm	_SBIHRMRegs,4,2                 ; @SBIHRMRegs
	.comm	_SBIHOld,4,2                    ; @SBIHOld
	.no_dead_strip	_SetVectors
.subsections_via_symbols
