	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vivid_radio_rx_enum_freq_bands ## -- Begin function vivid_radio_rx_enum_freq_bands
	.p2align	4, 0x90
_vivid_radio_rx_enum_freq_bands:        ## @vivid_radio_rx_enum_freq_bands
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, (%rdx)
	jne	LBB0_1
## %bb.2:
	movq	8(%rdx), %rax
	movq	_TOT_BANDS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_1
## %bb.3:
	movq	_vivid_radio_bands@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rax
	movups	(%rcx,%rax), %xmm0
	movups	%xmm0, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TOT_BANDS,8,3                  ## @TOT_BANDS
	.comm	_vivid_radio_bands,8,3          ## @vivid_radio_bands
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vivid_radio_rx_enum_freq_bands ; -- Begin function vivid_radio_rx_enum_freq_bands
	.p2align	2
_vivid_radio_rx_enum_freq_bands:        ; @vivid_radio_rx_enum_freq_bands
	.cfi_startproc
; %bb.0:
	ldr	x8, [x2]
	cbnz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x2, #8]
Lloh0:
	adrp	x9, _TOT_BANDS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TOT_BANDS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hs	LBB0_3
; %bb.2:
	mov	w0, #0
Lloh3:
	adrp	x9, _vivid_radio_bands@GOTPAGE
Lloh4:
	ldr	x9, [x9, _vivid_radio_bands@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	q0, [x9, x8, lsl #4]
	str	q0, [x2]
	ret
LBB0_3:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_TOT_BANDS,8,3                  ; @TOT_BANDS
	.comm	_vivid_radio_bands,8,3          ; @vivid_radio_bands
.subsections_via_symbols
