	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si4713_read_econtrol_string
_si4713_read_econtrol_string:           ## @si4713_read_econtrol_string
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %eax
	cmpl	$128, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_10
## %bb.2:
	movl	4(%r14), %edi
	callq	_strlen
	cmpl	8(%rbx), %eax
	jge	LBB0_3
## %bb.5:
	movl	4(%rbx), %r15d
	movl	4(%r14), %ebx
	jmp	LBB0_6
LBB0_7:
	movl	(%r14), %edi
	callq	_strlen
	cmpl	8(%rbx), %eax
	jge	LBB0_8
## %bb.9:
	movl	4(%rbx), %r15d
	movl	(%r14), %ebx
LBB0_6:
	movl	%ebx, %edi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edx
	movl	%r15d, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_copy_to_user                   ## TAILCALL
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_3:
	movq	_MAX_RDS_PS_NAME@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_8:
	movq	_MAX_RDS_RADIO_TEXT@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	incl	%eax
	movl	%eax, 8(%rbx)
	movq	_ENOSPC@GOTPCREL(%rip), %rcx
LBB0_11:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_RDS_PS_NAME,4,2            ## @MAX_RDS_PS_NAME
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_MAX_RDS_RADIO_TEXT,4,2         ## @MAX_RDS_RADIO_TEXT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_si4713_read_econtrol_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si4713_read_econtrol_string
_si4713_read_econtrol_string:           ; @si4713_read_econtrol_string
	.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, x1
	mov	x20, x0
	ldr	w8, [x1]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_7
; %bb.2:
	ldr	w0, [x20, #4]
	bl	_strlen
	ldr	w8, [x19, #8]
	cmp	w0, w8
	b.ge	LBB0_8
; %bb.3:
	ldr	w19, [x19, #4]
	ldr	w20, [x20, #4]
	b	LBB0_6
LBB0_4:
	ldr	w0, [x20]
	bl	_strlen
	ldr	w8, [x19, #8]
	cmp	w0, w8
	b.ge	LBB0_9
; %bb.5:
	ldr	w19, [x19, #4]
	ldr	w20, [x20]
LBB0_6:
	mov	x0, x20
	bl	_strlen
	add	w2, w0, #1
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_copy_to_user
LBB0_7:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
Lloh2:
	adrp	x8, _MAX_RDS_PS_NAME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAX_RDS_PS_NAME@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh4:
	adrp	x8, _MAX_RDS_RADIO_TEXT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MAX_RDS_RADIO_TEXT@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	add	w8, w8, #1
	str	w8, [x19, #8]
Lloh6:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_RDS_PS_NAME,4,2            ; @MAX_RDS_PS_NAME
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_MAX_RDS_RADIO_TEXT,4,2         ; @MAX_RDS_RADIO_TEXT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_si4713_read_econtrol_string
.subsections_via_symbols
