	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hackrf_enum_freq_bands
_hackrf_enum_freq_bands:                ## @hackrf_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
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	callq	_video_drvdata
	movl	(%rax), %edi
	movl	(%rbx), %edx
	movl	16(%rbx), %ecx
	movq	8(%rbx), %r8
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movl	(%rbx), %eax
	cmpl	$1, %eax
	je	LBB0_5
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movq	8(%rbx), %r15
	movq	_bands_adc_dac@GOTPCREL(%rip), %r14
	jmp	LBB0_3
LBB0_5:
	movq	8(%rbx), %r15
	movq	_bands_rx_tx@GOTPCREL(%rip), %r14
LBB0_3:
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %r15
	jae	LBB0_6
## %bb.4:
	movq	(%r14), %rax
	movq	8(%rbx), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movq	16(%rax,%rcx,8), %rdx
	movq	%rdx, 16(%rbx)
	movups	(%rax,%rcx,8), %xmm0
	movups	%xmm0, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tuner=%d type=%d index=%d\n"

	.comm	_bands_adc_dac,8,3              ## @bands_adc_dac
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_bands_rx_tx,8,3                ## @bands_rx_tx
	.no_dead_strip	_hackrf_enum_freq_bands
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hackrf_enum_freq_bands
_hackrf_enum_freq_bands:                ; @hackrf_enum_freq_bands
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	bl	_video_drvdata
	ldr	w0, [x0]
	ldr	w2, [x19]
	ldr	w3, [x19, #16]
	ldr	x4, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	ldr	w8, [x19]
	cmp	w8, #1
	b.eq	LBB0_3
; %bb.1:
	cbnz	w8, LBB0_6
; %bb.2:
	ldr	x21, [x19, #8]
Lloh2:
	adrp	x20, _bands_adc_dac@GOTPAGE
Lloh3:
	ldr	x20, [x20, _bands_adc_dac@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	ldr	x21, [x19, #8]
Lloh4:
	adrp	x20, _bands_rx_tx@GOTPAGE
Lloh5:
	ldr	x20, [x20, _bands_rx_tx@GOTPAGEOFF]
LBB0_4:
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	x21, x0
	b.hs	LBB0_6
; %bb.5:
	mov	w0, #0
	ldr	x8, [x20]
	ldr	x9, [x19, #8]
	mov	w10, #24
	madd	x8, x9, x10, x8
	ldr	q0, [x8]
	ldr	x8, [x8, #16]
	str	x8, [x19, #16]
	str	q0, [x19]
	b	LBB0_7
LBB0_6:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tuner=%d type=%d index=%d\n"

	.comm	_bands_adc_dac,8,3              ; @bands_adc_dac
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_bands_rx_tx,8,3                ; @bands_rx_tx
	.no_dead_strip	_hackrf_enum_freq_bands
.subsections_via_symbols
