	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tm6000_get_std_res             ## -- Begin function tm6000_get_std_res
	.p2align	4, 0x90
_tm6000_get_std_res:                    ## @tm6000_get_std_res
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_V4L2_STD_525_60@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	movl	$576, %eax                      ## imm = 0x240
	movl	$480, %ecx                      ## imm = 0x1E0
	cmovel	%eax, %ecx
	movl	%ecx, 4(%rdi)
	movl	$720, 8(%rdi)                   ## imm = 0x2D0
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_STD_525_60,4,2            ## @V4L2_STD_525_60
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tm6000_get_std_res             ; -- Begin function tm6000_get_std_res
	.p2align	2
_tm6000_get_std_res:                    ; @tm6000_get_std_res
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _V4L2_STD_525_60@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_STD_525_60@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #480
	mov	w9, #576
	csel	w8, w9, w8, eq
	mov	w9, #720
	stp	w8, w9, [x0, #4]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_STD_525_60,4,2            ; @V4L2_STD_525_60
.subsections_via_symbols
