	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function con_font_copy
_con_font_copy:                         ## @con_font_copy
	.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	(%rdi), %rax
	movq	_KD_TEXT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	movl	(%rsi), %r15d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_acquire_console_sem
	movq	16(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.2:
	testl	%r15d, %r15d
	js	LBB0_8
## %bb.3:
	movl	%r15d, %edi
	callq	_vc_cons_allocated
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	xorl	%ebx, %ebx
	cmpl	8(%r14), %r15d
	je	LBB0_10
## %bb.5:
	movq	16(%r14), %rax
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	*(%rax)
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_7:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_ENOTTY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_9:
	subl	(%rax), %ebx
LBB0_10:
	xorl	%eax, %eax
	callq	_release_console_sem
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KD_TEXT,8,3                    ## @KD_TEXT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_ENOTTY,4,2                     ## @ENOTTY
	.no_dead_strip	_con_font_copy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function con_font_copy
_con_font_copy:                         ; @con_font_copy
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _KD_TEXT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _KD_TEXT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w20, [x1]
	bl	_acquire_console_sem
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.2:
	tbnz	w20, #31, LBB0_8
; %bb.3:
	mov	x0, x20
	bl	_vc_cons_allocated
	cbz	w0, LBB0_8
; %bb.4:
	ldr	w8, [x19, #8]
	cmp	w20, w8
	b.ne	LBB0_12
; %bb.5:
	mov	w19, #0
	b	LBB0_10
LBB0_6:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_11
LBB0_7:
Lloh6:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh8:
	adrp	x8, _ENOTTY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOTTY@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_10:
	bl	_release_console_sem
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	mov	x19, x0
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_KD_TEXT,8,3                    ; @KD_TEXT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_ENOTTY,4,2                     ; @ENOTTY
	.no_dead_strip	_con_font_copy
.subsections_via_symbols
