	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hackrf_try_fmt_sdr
_hackrf_try_fmt_sdr:                    ## @hackrf_try_fmt_sdr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	callq	_video_drvdata
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_dev_dbg
	movl	12(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_NUM_FORMATS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_formats@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.1:
	movq	(%rbx), %rsi
	xorl	%edx, %edx
	movq	%rax, %rdi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rdi)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	addq	$16, %rdi
	cmpq	%rdx, %rcx
	jne	LBB0_2
LBB0_4:
	movq	(%rax), %rcx
	movq	%rcx, (%rbx)
	xorl	%edx, %edx
LBB0_5:
	shlq	$4, %rdx
	movl	8(%rax,%rdx), %eax
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pixelformat fourcc %4.4s\n"

	.comm	_NUM_FORMATS,4,2                ## @NUM_FORMATS
	.comm	_formats,8,3                    ## @formats
	.no_dead_strip	_hackrf_try_fmt_sdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hackrf_try_fmt_sdr
_hackrf_try_fmt_sdr:                    ; @hackrf_try_fmt_sdr
	.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, x2
	bl	_video_drvdata
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dev_dbg
	ldr	w0, [x19, #12]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh2:
	adrp	x8, _NUM_FORMATS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NUM_FORMATS@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x8]
Lloh5:
	adrp	x8, _formats@GOTPAGE
Lloh6:
	ldr	x8, [x8, _formats@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	w10, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x9, #0
	ldr	x11, [x19]
	mov	x12, x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x12]
	cmp	x13, x11
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	add	x12, x12, #16
	cmp	x10, x9
	b.ne	LBB0_2
LBB0_4:
	mov	x9, #0
	ldr	x10, [x8]
	str	x10, [x19]
LBB0_5:
	add	x8, x8, x9, lsl #4
	ldr	w8, [x8, #8]
	str	w8, [x19, #8]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pixelformat fourcc %4.4s\n"

	.comm	_NUM_FORMATS,4,2                ; @NUM_FORMATS
	.comm	_formats,8,3                    ; @formats
	.no_dead_strip	_hackrf_try_fmt_sdr
.subsections_via_symbols
