	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function norm_htotal
_norm_htotal:                           ## @norm_htotal
	.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
	movl	%edi, %ebx
	callq	_norm_fsc8
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movq	_V4L2_STD_625_50@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	addl	$312, %ecx                      ## imm = 0x138
	movl	$3518437209, %eax               ## imm = 0xD1B71759
	imulq	%rcx, %rax
	shrq	$41, %rax
	addl	$12, %eax
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	shrq	$35, %rax
	jmp	LBB0_3
LBB0_2:
	addl	$262, %ecx                      ## imm = 0x106
	movl	$4188615725, %eax               ## imm = 0xF9A9342D
	imulq	%rcx, %rax
	shrq	$41, %rax
	imull	$1001, %eax, %eax               ## imm = 0x3E9
	addl	$15000, %eax                    ## imm = 0x3A98
	imulq	$1172812403, %rax, %rax         ## imm = 0x45E7B273
	shrq	$45, %rax
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_STD_625_50,4,2            ## @V4L2_STD_625_50
	.no_dead_strip	_norm_htotal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function norm_htotal
_norm_htotal:                           ; @norm_htotal
	.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
	bl	_norm_fsc8
	cmp	w0, #0
	cinc	w8, w0, lt
	asr	w8, w8, #1
Lloh0:
	adrp	x9, _V4L2_STD_625_50@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_STD_625_50@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_2
; %bb.1:
	add	w8, w8, #312
	mov	w9, #5977
	movk	w9, #53687, lsl #16
	umull	x8, w8, w9
	lsr	x8, x8, #41
	add	w8, w8, #12
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	umull	x8, w8, w9
	lsr	x0, x8, #35
	b	LBB0_3
LBB0_2:
	add	w8, w8, #262
	mov	w9, #13357
	movk	w9, #63913, lsl #16
	umull	x8, w8, w9
	lsr	x8, x8, #41
	mov	w9, #1001
	mov	w10, #15000
	madd	w8, w8, w9, w10
	mov	w9, #45683
	movk	w9, #17895, lsl #16
	umull	x8, w8, w9
	lsr	x0, x8, #45
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
LBB0_3:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_STD_625_50,4,2            ; @V4L2_STD_625_50
	.no_dead_strip	_norm_htotal
.subsections_via_symbols
