	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_braille_unregister_console     ## -- Begin function braille_unregister_console
	.p2align	4, 0x90
_braille_unregister_console:            ## @braille_unregister_console
	.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
	movq	_braille_co@GOTPCREL(%rip), %rbx
	cmpq	%rdi, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	_keyboard_notifier_block@GOTPCREL(%rip), %rdi
	callq	_unregister_keyboard_notifier
	movq	_vt_notifier_block@GOTPCREL(%rip), %rdi
	callq	_unregister_vt_notifier
	movq	$0, (%rbx)
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_braille_co,8,3                 ## @braille_co
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_keyboard_notifier_block,4,2    ## @keyboard_notifier_block
	.comm	_vt_notifier_block,4,2          ## @vt_notifier_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_braille_unregister_console     ; -- Begin function braille_unregister_console
	.p2align	2
_braille_unregister_console:            ; @braille_unregister_console
	.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
Lloh0:
	adrp	x19, _braille_co@GOTPAGE
Lloh1:
	ldr	x19, [x19, _braille_co@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x8, x0
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x0, _keyboard_notifier_block@GOTPAGE
Lloh6:
	ldr	x0, [x0, _keyboard_notifier_block@GOTPAGEOFF]
	bl	_unregister_keyboard_notifier
Lloh7:
	adrp	x0, _vt_notifier_block@GOTPAGE
Lloh8:
	ldr	x0, [x0, _vt_notifier_block@GOTPAGEOFF]
	bl	_unregister_vt_notifier
	mov	w0, #0
	str	xzr, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_braille_co,8,3                 ; @braille_co
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_keyboard_notifier_block,4,2    ; @keyboard_notifier_block
	.comm	_vt_notifier_block,4,2          ; @vt_notifier_block
.subsections_via_symbols
