	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blackbird_codec_settings
_blackbird_codec_settings:              ## @blackbird_codec_settings
	.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	%rdi, %rbx
	movq	_CX2341X_ENC_SET_FRAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%rdi), %r8d
	movl	28(%rdi), %r9d
	movl	$2, %edx
	xorl	%ecx, %ecx
	callq	_blackbird_api_cmd
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movq	%rcx, 4(%rbx)
	movq	_V4L2_STD_625_50@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	andl	(%rax), %ecx
	setne	%dl
	movl	%edx, (%rbx)
	movq	_blackbird_mbox_func@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cx2341x_update                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CX2341X_ENC_SET_FRAME_SIZE,4,2 ## @CX2341X_ENC_SET_FRAME_SIZE
	.comm	_V4L2_STD_625_50,4,2            ## @V4L2_STD_625_50
	.comm	_blackbird_mbox_func,4,2        ## @blackbird_mbox_func
	.no_dead_strip	_blackbird_codec_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blackbird_codec_settings
_blackbird_codec_settings:              ; @blackbird_codec_settings
	.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, x0
Lloh0:
	adrp	x8, _CX2341X_ENC_SET_FRAME_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CX2341X_ENC_SET_FRAME_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldp	w4, w5, [x0, #24]
	mov	w2, #2
	mov	w3, #0
	bl	_blackbird_api_cmd
	ldr	d0, [x19, #24]
	stur	d0, [x19, #4]
	ldr	x8, [x19, #16]
Lloh3:
	adrp	x9, _V4L2_STD_625_50@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_STD_625_50@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
Lloh6:
	adrp	x9, _blackbird_mbox_func@GOTPAGE
Lloh7:
	ldr	x9, [x9, _blackbird_mbox_func@GOTPAGEOFF]
	str	w8, [x19]
Lloh8:
	ldr	w1, [x9]
	mov	x0, x19
	mov	x2, #0
	mov	x3, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cx2341x_update
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CX2341X_ENC_SET_FRAME_SIZE,4,2 ; @CX2341X_ENC_SET_FRAME_SIZE
	.comm	_V4L2_STD_625_50,4,2            ; @V4L2_STD_625_50
	.comm	_blackbird_mbox_func,4,2        ; @blackbird_mbox_func
	.no_dead_strip	_blackbird_codec_settings
.subsections_via_symbols
