	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HEADER_SetFont
_HEADER_SetFont:                        ## @HEADER_SetFont
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	%rsi, 16(%rdi)
	xorl	%edi, %edi
	callq	_GetDC
	movl	%eax, %ebx
	movq	16(%r15), %rsi
	testq	%rsi, %rsi
	jne	LBB0_2
## %bb.1:
	movq	_SYSTEM_FONT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetStockObject
	movq	%rax, %rsi
LBB0_2:
	movl	%ebx, %edi
	callq	_SelectObject
	movq	%rax, %r12
	leaq	-40(%rbp), %rsi
	movl	%ebx, %edi
	callq	_GetTextMetricsW
	movq	_VERT_BORDER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	-40(%rbp), %rax
	movq	%rax, 8(%r15)
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_SelectObject
	xorl	%edi, %edi
	movl	%ebx, %esi
	callq	_ReleaseDC
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, 4(%r15)
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movl	(%r15), %edi
	xorl	%esi, %esi
	callq	_InvalidateRect
LBB0_4:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYSTEM_FONT,4,2                ## @SYSTEM_FONT
	.comm	_VERT_BORDER,8,3                ## @VERT_BORDER
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_HEADER_SetFont
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HEADER_SetFont
_HEADER_SetFont:                        ; @HEADER_SetFont
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x19, x0
	str	x1, [x0, #16]
	mov	w0, #0
	bl	_GetDC
	mov	x21, x0
	ldr	x1, [x19, #16]
	cbnz	x1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SYSTEM_FONT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SYSTEM_FONT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_GetStockObject
	mov	x1, x0
LBB0_2:
	mov	x0, x21
	bl	_SelectObject
	mov	x22, x0
	add	x1, sp, #8
	mov	x0, x21
	bl	_GetTextMetricsW
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x9, _VERT_BORDER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VERT_BORDER@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x8, x9, x8
	str	x8, [x19, #8]
	mov	x0, x21
	mov	x1, x22
	bl	_SelectObject
	mov	w0, #0
	mov	x1, x21
	bl	_ReleaseDC
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	str	w2, [x19, #4]
	cbz	x20, LBB0_4
; %bb.3:
	ldr	w0, [x19]
	mov	x1, #0
	bl	_InvalidateRect
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SYSTEM_FONT,4,2                ; @SYSTEM_FONT
	.comm	_VERT_BORDER,8,3                ; @VERT_BORDER
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_HEADER_SetFont
.subsections_via_symbols
