	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function vivid_rds_gen_fill
LCPI0_0:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_vivid_rds_gen_fill
	.p2align	4, 0x90
_vivid_rds_gen_fill:                    ## @vivid_rds_gen_fill
	.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
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %rbx
	testl	%edx, %edx
	movl	$3, %eax
	movl	$16, %ecx
	cmovel	%eax, %ecx
	movl	$2, %eax
	movl	$29, %edi
	cmovel	%eax, %edi
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r14
	cmoveq	%rax, %r14
	cmpq	$0, 48(%rbx)
	movl	$32904, %r8d                    ## imm = 0x8088
	movl	$11893, %eax                    ## imm = 0x2E75
	cmovel	%r8d, %eax
	cmovel	%ecx, %edi
	movl	%eax, (%rbx)
	movl	%edi, 4(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,0,0,0]
	movups	%xmm0, 8(%rbx)
	movl	$1, 24(%rbx)
	movl	%edx, 28(%rbx)
	movl	$1, 32(%rbx)
	movl	40(%rbx), %edi
	movl	%esi, %ecx
	shrl	$4, %ecx
	andl	$15, %esi
	addl	%esi, %esi
	leal	(%rsi,%rsi,4), %r8d
	leaq	L_.str(%rip), %rdx
	shrl	$4, %r8d
	movl	$4, %esi
	callq	_snprintf
	movl	36(%rbx), %edi
	movq	%r14, %rsi
	movl	$4, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_strscpy                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%6d.%1d"

L_.str.1:                               ## @.str.1
	.asciz	" The Radio Data System can switch between different Radio Texts "

L_.str.2:                               ## @.str.2
	.asciz	"An example of Radio Text as transmitted by the Radio Data System"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function vivid_rds_gen_fill
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_vivid_rds_gen_fill
	.p2align	2
_vivid_rds_gen_fill:                    ; @vivid_rds_gen_fill
	.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
	mov	x19, x0
	ldr	x8, [x0, #48]
	mov	w9, #16
	mov	w10, #3
	cmp	w2, #0
	csel	w9, w10, w9, eq
	mov	w10, #29
	mov	w11, #2
	csel	w10, w11, w10, eq
Lloh0:
	adrp	x11, l_.str.1@PAGE
Lloh1:
	add	x11, x11, l_.str.1@PAGEOFF
Lloh2:
	adrp	x12, l_.str.2@PAGE
Lloh3:
	add	x12, x12, l_.str.2@PAGEOFF
	csel	x20, x12, x11, eq
	cmp	x8, #0
	mov	w8, #11893
	mov	w11, #32904
	csel	w8, w11, w8, eq
	csel	w9, w9, w10, eq
	stp	w8, w9, [x0]
Lloh4:
	adrp	x8, lCPI0_0@PAGE
Lloh5:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x0, #8]
	mov	w8, #1
	stp	w8, w2, [x0, #24]
	str	w8, [x0, #32]
	ldr	w0, [x0, #40]
	lsr	w3, w1, #4
	and	w8, w1, #0xf
	add	w8, w8, w8, lsl #2
	ubfx	w4, w8, #3, #28
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	_snprintf
	ldr	w0, [x19, #36]
	mov	x1, x20
	mov	w2, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_strscpy
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%6d.%1d"

l_.str.1:                               ; @.str.1
	.asciz	" The Radio Data System can switch between different Radio Texts "

l_.str.2:                               ; @.str.2
	.asciz	"An example of Radio Text as transmitted by the Radio Data System"

.subsections_via_symbols
