	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si4713_set_rds_ps_name
_si4713_set_rds_ps_name:                ## @si4713_set_rds_ps_name
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpq	$0, (%r14)
	je	LBB0_3
LBB0_4:
	movq	_MAX_RDS_PS_NAME@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_8
## %bb.5:
	movq	_RDS_BLOCK@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	movslq	%ebx, %rdx
	addq	%r15, %rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_si4713_tx_rds_ps
	testl	%eax, %eax
	js	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r13), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	addl	%ecx, %ebx
	cmpl	(%r12), %ebx
	jl	LBB0_6
LBB0_8:
	movq	%r15, %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %edi
	decl	%edi
	jmp	LBB0_11
LBB0_1:
	movq	_MAX_RDS_PS_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	incl	%edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_memset
	cmpq	$0, (%r14)
	jne	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_9:
	movl	$1, %edi
LBB0_11:
	movq	_SI4713_TX_RDS_PS_MESSAGE_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_rds_ps_nblocks
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_si4713_write_property
	testl	%eax, %eax
	js	LBB0_12
## %bb.13:
	movq	_SI4713_TX_RDS_PS_REPEAT_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DEFAULT_RDS_PS_REPEAT_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	%edx, %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_si4713_write_property          ## TAILCALL
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_RDS_PS_NAME,4,2            ## @MAX_RDS_PS_NAME
	.comm	_RDS_BLOCK,4,2                  ## @RDS_BLOCK
	.comm	_SI4713_TX_RDS_PS_MESSAGE_COUNT,4,2 ## @SI4713_TX_RDS_PS_MESSAGE_COUNT
	.comm	_SI4713_TX_RDS_PS_REPEAT_COUNT,4,2 ## @SI4713_TX_RDS_PS_REPEAT_COUNT
	.comm	_DEFAULT_RDS_PS_REPEAT_COUNT,4,2 ## @DEFAULT_RDS_PS_REPEAT_COUNT
	.no_dead_strip	_si4713_set_rds_ps_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si4713_set_rds_ps_name
_si4713_set_rds_ps_name:                ; @si4713_set_rds_ps_name
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_strlen
	cbz	w0, LBB0_8
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_9
LBB0_2:
Lloh0:
	adrp	x21, _MAX_RDS_PS_NAME@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAX_RDS_PS_NAME@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	mov	w22, #0
Lloh2:
	adrp	x23, _RDS_BLOCK@GOTPAGE
Lloh3:
	ldr	x23, [x23, _RDS_BLOCK@GOTPAGEOFF]
	ldr	w8, [x23]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	add	x2, x20, w22, sxtw
	sdiv	w1, w22, w8
	mov	x0, x19
	bl	_si4713_tx_rds_ps
	tbnz	w0, #31, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23]
	cmp	w8, #0
	cinc	w9, w8, lt
	add	w22, w22, w9, asr #1
	ldr	w9, [x21]
	cmp	w22, w9
	b.lt	LBB0_4
LBB0_6:
	mov	x0, x20
	bl	_strlen
	cbz	w0, LBB0_10
; %bb.7:
	mov	x0, x20
	bl	_strlen
	sub	w0, w0, #1
	b	LBB0_11
LBB0_8:
Lloh4:
	adrp	x8, _MAX_RDS_PS_NAME@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MAX_RDS_PS_NAME@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	add	w2, w8, #1
	mov	x0, x20
	mov	w1, #0
	bl	_memset
	ldr	x8, [x19]
	cbnz	x8, LBB0_2
LBB0_9:
	mov	w0, #0
	b	LBB0_13
LBB0_10:
	mov	w0, #1
LBB0_11:
Lloh7:
	adrp	x8, _SI4713_TX_RDS_PS_MESSAGE_COUNT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SI4713_TX_RDS_PS_MESSAGE_COUNT@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
	bl	_rds_ps_nblocks
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_si4713_write_property
	tbnz	w0, #31, LBB0_13
; %bb.12:
Lloh10:
	adrp	x8, _SI4713_TX_RDS_PS_REPEAT_COUNT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SI4713_TX_RDS_PS_REPEAT_COUNT@GOTPAGEOFF]
Lloh12:
	adrp	x9, _DEFAULT_RDS_PS_REPEAT_COUNT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DEFAULT_RDS_PS_REPEAT_COUNT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	ldr	w8, [x9]
	lsl	w2, w8, #1
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_si4713_write_property
LBB0_13:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_RDS_PS_NAME,4,2            ; @MAX_RDS_PS_NAME
	.comm	_RDS_BLOCK,4,2                  ; @RDS_BLOCK
	.comm	_SI4713_TX_RDS_PS_MESSAGE_COUNT,4,2 ; @SI4713_TX_RDS_PS_MESSAGE_COUNT
	.comm	_SI4713_TX_RDS_PS_REPEAT_COUNT,4,2 ; @SI4713_TX_RDS_PS_REPEAT_COUNT
	.comm	_DEFAULT_RDS_PS_REPEAT_COUNT,4,2 ; @DEFAULT_RDS_PS_REPEAT_COUNT
	.no_dead_strip	_si4713_set_rds_ps_name
.subsections_via_symbols
