	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gl_get_message_width
_gl_get_message_width:                  ## @gl_get_message_width
	.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	%rsi, -48(%rbp)
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.2:
	cmpq	$0, (%rcx)
	je	LBB0_12
## %bb.3:
	cmpl	$0, (%rbx)
	je	LBB0_12
## %bb.4:
	testl	%edx, %edx
	movss	%xmm0, -36(%rbp)                ## 4-byte Spill
	je	LBB0_5
## %bb.6:
	movq	%rsi, %r14
	movl	%edx, %eax
	addq	%rax, %r14
	xorl	%r12d, %r12d
	leaq	-48(%rbp), %r15
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	addl	(%rax), %r12d
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%r14, -48(%rbp)
	jae	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_utf8_walk
	movq	8(%rbx), %rcx
	movl	(%rbx), %edi
	movsbl	%al, %esi
	callq	*(%rcx)
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%rbx), %rax
	movl	(%rbx), %edi
	movl	$63, %esi
	callq	*(%rax)
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_10
LBB0_5:
	xorl	%r12d, %r12d
LBB0_11:
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r12d, %xmm0
	mulss	-36(%rbp), %xmm0                ## 4-byte Folded Reload
	cvttss2si	%xmm0, %eax
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gl_get_message_width
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gl_get_message_width
_gl_get_message_width:                  ; @gl_get_message_width
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	str	x1, [sp, #8]
	cbz	x0, LBB0_12
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_10
; %bb.2:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.3:
	ldr	w8, [x19]
	cbz	w8, LBB0_10
; %bb.4:
	fmov	s8, s0
	mov	w20, #0
	cbz	w2, LBB0_11
; %bb.5:
	add	x21, x1, w2, uxtw
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x0]
	add	w20, w20, w8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp, #8]
	cmp	x8, x21
	b.hs	LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	bl	_utf8_walk
	ldr	x8, [x19, #8]
	ldr	x9, [x8]
	ldr	w8, [x19]
	sxtb	w1, w0
	mov	x0, x8
	blr	x9
	cbnz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w0, [x19]
	mov	w1, #63
	blr	x8
	cbnz	x0, LBB0_6
	b	LBB0_7
LBB0_10:
	mov	w0, #0
	b	LBB0_12
LBB0_11:
	scvtf	s0, w20
	fmul	s0, s0, s8
	fcvtzs	w0, s0
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gl_get_message_width
.subsections_via_symbols
