	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LogFrame                       ## -- Begin function LogFrame
	.p2align	4, 0x90
_LogFrame:                              ## @LogFrame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	movl	%edx, %ecx
	movq	%rdi, %r14
	movq	_MAX_DLOG_SPACE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rdx
	shrq	$32, %rdx
	shrq	$63, %rax
	addl	%edx, %eax
	addl	$-10, %eax
	cmpl	%ecx, %eax
	jle	LBB0_2
## %bb.4:
	movq	(%r14), %rbx
	movl	$978863432, (%rbx)              ## imm = 0x3A584548
	leaq	4(%rbx), %rdi
	movl	%ecx, %edx
	callq	_QuickHex
	cltq
	movw	$10, 3(%rbx,%rax)
	movq	(%r14), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_HiSax_putstatus                ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_HiSax_putstatus                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_DLOG_SPACE,4,2             ## @MAX_DLOG_SPACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LogFrame: "

L_.str.1:                               ## @.str.1
	.asciz	"warning Frame too big (%d)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LogFrame                       ; -- Begin function LogFrame
	.p2align	2
_LogFrame:                              ; @LogFrame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
                                        ; kill: def $w2 killed $w2 def $x2
	cmp	w2, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _MAX_DLOG_SPACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_DLOG_SPACE@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	sub	w8, w8, #10
	cmp	w8, w2
	b.le	LBB0_3
; %bb.2:
	ldr	x20, [x19]
	mov	w8, #17736
	movk	w8, #14936, lsl #16
	str	w8, [x20], #4
	mov	x0, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_QuickHex
	add	x8, x20, w0, sxtw
	mov	w9, #10
	sturh	w9, [x8, #-1]
	ldr	x2, [x19]
	mov	x0, x19
	mov	x1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_HiSax_putstatus
LBB0_3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	str	x2, [sp]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_HiSax_putstatus
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_DLOG_SPACE,4,2             ; @MAX_DLOG_SPACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LogFrame: "

l_.str.1:                               ; @.str.1
	.asciz	"warning Frame too big (%d)"

.subsections_via_symbols
