	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function std_callback
_std_callback:                          ## @std_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %r14
	movq	_V4L2_STD_PAL@GOTPCREL(%rip), %rbx
	movq	(%rsi), %rcx
	cmpq	%rcx, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_hexium_pal@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_V4L2_STD_NTSC@GOTPCREL(%rip), %rbx
	cmpq	%rcx, (%rbx)
	jne	LBB0_4
## %bb.3:
	movq	_hexium_ntsc@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_V4L2_STD_SECAM@GOTPCREL(%rip), %rbx
	movl	$-1, %eax
	cmpq	%rcx, (%rbx)
	jne	LBB0_7
## %bb.5:
	movq	_hexium_secam@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_hexium_set_standard
	movq	(%rbx), %rax
	movq	%rax, (%r14)
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_STD_PAL,8,3               ## @V4L2_STD_PAL
	.comm	_hexium_pal,4,2                 ## @hexium_pal
	.comm	_V4L2_STD_NTSC,8,3              ## @V4L2_STD_NTSC
	.comm	_hexium_ntsc,4,2                ## @hexium_ntsc
	.comm	_V4L2_STD_SECAM,8,3             ## @V4L2_STD_SECAM
	.comm	_hexium_secam,4,2               ## @hexium_secam
	.no_dead_strip	_std_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function std_callback
_std_callback:                          ; @std_callback
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x20, _V4L2_STD_PAL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _V4L2_STD_PAL@GOTPAGEOFF]
	ldr	x9, [x20]
	ldr	x8, [x1]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _hexium_pal@GOTPAGE
Lloh3:
	ldr	x8, [x8, _hexium_pal@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
Lloh4:
	adrp	x20, _V4L2_STD_NTSC@GOTPAGE
Lloh5:
	ldr	x20, [x20, _V4L2_STD_NTSC@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _hexium_ntsc@GOTPAGE
Lloh7:
	ldr	x8, [x8, _hexium_ntsc@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh8:
	adrp	x20, _V4L2_STD_SECAM@GOTPAGE
Lloh9:
	ldr	x20, [x20, _V4L2_STD_SECAM@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.5:
Lloh10:
	adrp	x8, _hexium_secam@GOTPAGE
Lloh11:
	ldr	x8, [x8, _hexium_secam@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_hexium_set_standard
	mov	w0, #0
	ldr	x8, [x20]
	str	x8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w0, #-1
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_STD_PAL,8,3               ; @V4L2_STD_PAL
	.comm	_hexium_pal,4,2                 ; @hexium_pal
	.comm	_V4L2_STD_NTSC,8,3              ; @V4L2_STD_NTSC
	.comm	_hexium_ntsc,4,2                ; @hexium_ntsc
	.comm	_V4L2_STD_SECAM,8,3             ; @V4L2_STD_SECAM
	.comm	_hexium_secam,4,2               ; @hexium_secam
	.no_dead_strip	_std_callback
.subsections_via_symbols
