	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usbvideo_OverlayChar
_usbvideo_OverlayChar:                  ## @usbvideo_OverlayChar
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.1:
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_19
## %bb.2:
	movl	%ecx, %r12d
	movq	%rdi, %rbx
	leal	-48(%r8), %eax
	cmpl	$10, %eax
	jb	LBB0_8
## %bb.3:
	leal	-65(%r8), %eax
	cmpl	$5, %eax
	ja	LBB0_5
## %bb.4:
	addl	$-55, %r8d
	jmp	LBB0_7
LBB0_5:
	leal	-97(%r8), %eax
	cmpl	$5, %eax
	ja	LBB0_19
## %bb.6:
	addl	$-87, %r8d
LBB0_7:
	movl	%r8d, %eax
LBB0_8:
	movl	%eax, %eax
	leaq	_usbvideo_OverlayChar.digits(%rip), %rcx
	movzwl	(%rcx,%rax,2), %r14d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leal	1(%rax), %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	addl	$2, %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	shll	$3, %r14d
	incl	%r15d
	cmpl	$5, %r15d
	je	LBB0_19
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r12,%r15), %r13d
	testw	%r14w, %r14w
	jns	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rax
	movq	_VIDEO_PALETTE_RGB24@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btq	%rcx, %rax
	jae	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r13d, %edx
	movl	$255, %ecx
	movl	$255, %r8d
	movl	$255, %r9d
	callq	_RGB24_PUTPIXEL
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	testl	$16384, %r14d                   ## imm = 0x4000
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rax
	movq	_VIDEO_PALETTE_RGB24@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btq	%rcx, %rax
	jae	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	$255, %ecx
	movl	$255, %r8d
	movl	$255, %r9d
	callq	_RGB24_PUTPIXEL
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	testl	$8192, %r14d                    ## imm = 0x2000
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rax
	movq	_VIDEO_PALETTE_RGB24@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	btq	%rcx, %rax
	jae	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	$255, %ecx
	movl	$255, %r8d
	movl	$255, %r9d
	callq	_RGB24_PUTPIXEL
	jmp	LBB0_18
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @usbvideo_OverlayChar.digits
_usbvideo_OverlayChar.digits:
	.short	63198                           ## 0xf6de
	.short	9362                            ## 0x2492
	.short	59342                           ## 0xe7ce
	.short	59294                           ## 0xe79e
	.short	46994                           ## 0xb792
	.short	62366                           ## 0xf39e
	.short	62430                           ## 0xf3de
	.short	62610                           ## 0xf492
	.short	63454                           ## 0xf7de
	.short	63390                           ## 0xf79e
	.short	30682                           ## 0x77da
	.short	55132                           ## 0xd75c
	.short	62030                           ## 0xf24e
	.short	55004                           ## 0xd6dc
	.short	62286                           ## 0xf34e
	.short	62280                           ## 0xf348

	.comm	_VIDEO_PALETTE_RGB24,8,3        ## @VIDEO_PALETTE_RGB24
	.no_dead_strip	_usbvideo_OverlayChar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usbvideo_OverlayChar
_usbvideo_OverlayChar:                  ; @usbvideo_OverlayChar
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x0, LBB0_18
; %bb.1:
	mov	x21, x1
	cbz	x1, LBB0_18
; %bb.2:
	mov	x19, x3
	mov	x20, x2
	mov	x22, x0
	sub	w8, w4, #48
	cmp	w8, #10
	b.lo	LBB0_7
; %bb.3:
	sub	w8, w4, #65
	cmp	w8, #5
	b.hi	LBB0_5
; %bb.4:
	sub	w8, w4, #55
	b	LBB0_7
LBB0_5:
	sub	w8, w4, #97
	cmp	w8, #5
	b.hi	LBB0_18
; %bb.6:
	sub	w8, w4, #87
LBB0_7:
	mov	w26, #0
Lloh0:
	adrp	x9, _usbvideo_OverlayChar.digits@PAGE
Lloh1:
	add	x9, x9, _usbvideo_OverlayChar.digits@PAGEOFF
	ldrh	w27, [x9, w8, uxtw #1]
	add	w23, w20, #1
	add	w24, w20, #2
Lloh2:
	adrp	x28, _VIDEO_PALETTE_RGB24@GOTPAGE
Lloh3:
	ldr	x28, [x28, _VIDEO_PALETTE_RGB24@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	lsl	w27, w27, #3
	add	w26, w26, #1
	cmp	w26, #5
	b.eq	LBB0_18
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	w25, w19, w26
	tbz	w27, #15, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x22]
	ldr	x9, [x28]
	lsr	x8, x8, x9
	tbz	w8, #0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x25
	mov	w3, #255
	mov	w4, #255
	mov	w5, #255
	bl	_RGB24_PUTPIXEL
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	tbz	w27, #14, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x22]
	ldr	x9, [x28]
	lsr	x8, x8, x9
	tbz	w8, #0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	mov	x1, x23
	mov	x2, x25
	mov	w3, #255
	mov	w4, #255
	mov	w5, #255
	bl	_RGB24_PUTPIXEL
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	tbz	w27, #13, LBB0_8
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x22]
	ldr	x9, [x28]
	lsr	x8, x8, x9
	tbz	w8, #0, LBB0_8
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	mov	x1, x24
	mov	x2, x25
	mov	w3, #255
	mov	w4, #255
	mov	w5, #255
	bl	_RGB24_PUTPIXEL
	b	LBB0_8
LBB0_18:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	1                               ; @usbvideo_OverlayChar.digits
_usbvideo_OverlayChar.digits:
	.short	63198                           ; 0xf6de
	.short	9362                            ; 0x2492
	.short	59342                           ; 0xe7ce
	.short	59294                           ; 0xe79e
	.short	46994                           ; 0xb792
	.short	62366                           ; 0xf39e
	.short	62430                           ; 0xf3de
	.short	62610                           ; 0xf492
	.short	63454                           ; 0xf7de
	.short	63390                           ; 0xf79e
	.short	30682                           ; 0x77da
	.short	55132                           ; 0xd75c
	.short	62030                           ; 0xf24e
	.short	55004                           ; 0xd6dc
	.short	62286                           ; 0xf34e
	.short	62280                           ; 0xf348

	.comm	_VIDEO_PALETTE_RGB24,8,3        ; @VIDEO_PALETTE_RGB24
	.no_dead_strip	_usbvideo_OverlayChar
.subsections_via_symbols
