	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si476x_radio_add_new_custom
_si476x_radio_add_new_custom:           ## @si476x_radio_add_new_custom
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	addq	$4, %rdi
	movq	_si476x_ctrls@GOTPCREL(%rip), %r12
	movl	%esi, %r15d
	leaq	(,%r15,4), %rsi
	addq	(%r12), %rsi
	xorl	%edx, %edx
	callq	_v4l2_ctrl_new_custom
	movl	4(%r14), %ebx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.2:
	movl	(%r14), %edi
	movq	(%r12), %rax
	movl	(%rax,%r15,4), %edx
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %ecx
	callq	_dev_err
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_si476x_ctrls,8,3               ## @si476x_ctrls
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not initialize '%s' control %d\n"

	.no_dead_strip	_si476x_radio_add_new_custom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si476x_radio_add_new_custom
_si476x_radio_add_new_custom:           ; @si476x_radio_add_new_custom
	.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	x21, x1
	mov	x19, x0
	add	x0, x0, #4
Lloh0:
	adrp	x22, _si476x_ctrls@GOTPAGE
Lloh1:
	ldr	x22, [x22, _si476x_ctrls@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x1, x8, w1, uxtw #2
	mov	x2, #0
	bl	_v4l2_ctrl_new_custom
	ldr	w20, [x19, #4]
	cmp	x0, #0
	ccmp	w20, #0, #4, eq
	b.eq	LBB0_2
; %bb.1:
	mov	w8, w21
	ldr	w0, [x19]
	ldr	x9, [x22]
	ldr	w2, [x9, x8, lsl #2]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x20
	bl	_dev_err
LBB0_2:
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_si476x_ctrls,8,3               ; @si476x_ctrls
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not initialize '%s' control %d\n"

	.no_dead_strip	_si476x_radio_add_new_custom
.subsections_via_symbols
