	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DriverKill
_DriverKill:                            ## @DriverKill
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	callq	_SaveConfig
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SetSignals
	movq	_inited@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testb	$2, %al
	jne	LBB0_1
## %bb.2:
	testb	$8, %al
	jne	LBB0_3
LBB0_4:
	testb	$4, %al
	jne	LBB0_5
LBB0_6:
	testb	$1, %al
	jne	LBB0_7
LBB0_8:
	testb	$16, %al
	je	LBB0_10
LBB0_9:
	xorl	%eax, %eax
	callq	_KillMouse
LBB0_10:
	movl	$0, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	callq	_KillJoysticks
	movl	(%rbx), %eax
	testb	$8, %al
	je	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	callq	_KillKeyboard
	movl	(%rbx), %eax
	testb	$4, %al
	je	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	callq	_KillVideo
	movl	(%rbx), %eax
	testb	$1, %al
	je	LBB0_8
LBB0_7:
	xorl	%eax, %eax
	callq	_KillSound
	movl	(%rbx), %eax
	testb	$16, %al
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_inited,4,2                     ## @inited
	.no_dead_strip	_DriverKill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DriverKill
_DriverKill:                            ; @DriverKill
	.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
	bl	_SaveConfig
Lloh0:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_SetSignals
Lloh3:
	adrp	x19, _inited@GOTPAGE
Lloh4:
	ldr	x19, [x19, _inited@GOTPAGEOFF]
	ldr	w8, [x19]
	tbnz	w8, #1, LBB0_7
; %bb.1:
	tbnz	w8, #3, LBB0_8
LBB0_2:
	tbnz	w8, #2, LBB0_9
LBB0_3:
	tbnz	w8, #0, LBB0_10
LBB0_4:
	tbz	w8, #4, LBB0_6
LBB0_5:
	bl	_KillMouse
LBB0_6:
	str	wzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	_KillJoysticks
	ldr	w8, [x19]
	tbz	w8, #3, LBB0_2
LBB0_8:
	bl	_KillKeyboard
	ldr	w8, [x19]
	tbz	w8, #2, LBB0_3
LBB0_9:
	bl	_KillVideo
	ldr	w8, [x19]
	tbz	w8, #0, LBB0_4
LBB0_10:
	bl	_KillSound
	ldr	w8, [x19]
	tbnz	w8, #4, LBB0_5
	b	LBB0_6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_inited,4,2                     ; @inited
	.no_dead_strip	_DriverKill
.subsections_via_symbols
