	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_compute_n
_hdmi_compute_n:                        ## @hdmi_compute_n
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movl	$1, %ecx
	movl	%edi, %eax
	cmpl	$48001, %edi                    ## imm = 0xBB81
	jb	LBB0_3
## %bb.1:
	movl	$1, %ecx
	movl	%edi, %edx
	movl	%edi, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	addl	%ecx, %ecx
	shrl	%eax
	cmpl	$96001, %edx                    ## imm = 0x17701
	movl	%eax, %edx
	ja	LBB0_2
LBB0_3:
	cmpl	$48000, %eax                    ## imm = 0xBB80
	je	LBB0_9
## %bb.4:
	cmpl	$44100, %eax                    ## imm = 0xAC44
	je	LBB0_12
## %bb.5:
	cmpl	$32000, %eax                    ## imm = 0x7D00
	jne	LBB0_16
## %bb.6:
	cmpq	$74175999, %rsi                 ## imm = 0x46BD5FF
	jg	LBB0_17
## %bb.7:
	cmpq	$25175000, %rsi                 ## imm = 0x18023D8
	je	LBB0_28
## %bb.8:
	cmpq	$27027000, %rsi                 ## imm = 0x19C6638
	jmp	LBB0_23
LBB0_9:
	cmpq	$74175999, %rsi                 ## imm = 0x46BD5FF
	jg	LBB0_20
## %bb.10:
	cmpq	$25175000, %rsi                 ## imm = 0x18023D8
	je	LBB0_29
## %bb.11:
	cmpq	$27027000, %rsi                 ## imm = 0x19C6638
	jmp	LBB0_24
LBB0_12:
	cmpq	$25175000, %rsi                 ## imm = 0x18023D8
	je	LBB0_25
## %bb.13:
	cmpq	$148352000, %rsi                ## imm = 0x8D7AC00
	je	LBB0_26
## %bb.14:
	cmpq	$74176000, %rsi                 ## imm = 0x46BD600
	jne	LBB0_27
## %bb.15:
	movl	$17836, %eax                    ## imm = 0x45AC
	jmp	LBB0_31
LBB0_16:
	shll	$7, %edi
	imulq	$274877907, %rdi, %rax          ## imm = 0x10624DD3
	shrq	$38, %rax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_17:
	cmpq	$74176000, %rsi                 ## imm = 0x46BD600
	je	LBB0_30
## %bb.18:
	cmpq	$148352000, %rsi                ## imm = 0x8D7AC00
	je	LBB0_30
LBB0_23:
	movl	$4096, %eax                     ## imm = 0x1000
	jmp	LBB0_31
LBB0_20:
	cmpq	$74176000, %rsi                 ## imm = 0x46BD600
	je	LBB0_30
## %bb.21:
	cmpq	$148352000, %rsi                ## imm = 0x8D7AC00
	jne	LBB0_24
## %bb.22:
	movl	$5824, %eax                     ## imm = 0x16C0
	jmp	LBB0_31
LBB0_30:
	movl	$11648, %eax                    ## imm = 0x2D80
	jmp	LBB0_31
LBB0_24:
	movl	$6144, %eax                     ## imm = 0x1800
	jmp	LBB0_31
LBB0_25:
	movl	$7007, %eax                     ## imm = 0x1B5F
	jmp	LBB0_31
LBB0_26:
	movl	$8918, %eax                     ## imm = 0x22D6
	jmp	LBB0_31
LBB0_27:
	movl	$6272, %eax                     ## imm = 0x1880
	jmp	LBB0_31
LBB0_28:
	movl	$4576, %eax                     ## imm = 0x11E0
	jmp	LBB0_31
LBB0_29:
	movl	$6864, %eax                     ## imm = 0x1AD0
LBB0_31:
	imull	%ecx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hdmi_compute_n
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_compute_n
_hdmi_compute_n:                        ; @hdmi_compute_n
	.cfi_startproc
; %bb.0:
	mov	w8, #48001
	cmp	w0, w8
	b.lo	LBB0_3
; %bb.1:
	mov	w8, #1
	mov	w10, #30465
	movk	w10, #1, lsl #16
	mov	x11, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w8, w8, #1
	lsr	w9, w11, #1
	cmp	w11, w10
	mov	x11, x9
	b.hi	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w8, #1
	mov	x9, x0
LBB0_4:
	mov	w10, #48000
	cmp	w9, w10
	b.eq	LBB0_10
; %bb.5:
	mov	w10, #44100
	cmp	w9, w10
	b.eq	LBB0_13
; %bb.6:
	mov	w10, #32000
	cmp	w9, w10
	b.ne	LBB0_14
; %bb.7:
	mov	w9, #54783
	movk	w9, #1131, lsl #16
	cmp	x1, x9
	b.gt	LBB0_15
; %bb.8:
	mov	w9, #9176
	movk	w9, #384, lsl #16
	cmp	x1, x9
	b.eq	LBB0_23
; %bb.9:
	mov	w9, #26168
	movk	w9, #412, lsl #16
	cmp	x1, x9
	b	LBB0_17
LBB0_10:
	mov	w9, #54783
	movk	w9, #1131, lsl #16
	cmp	x1, x9
	b.gt	LBB0_18
; %bb.11:
	mov	w9, #9176
	movk	w9, #384, lsl #16
	cmp	x1, x9
	b.eq	LBB0_24
; %bb.12:
	mov	w9, #26168
	movk	w9, #412, lsl #16
	cmp	x1, x9
	b	LBB0_22
LBB0_13:
	mov	w9, #7007
	mov	w10, #9176
	movk	w10, #384, lsl #16
	mov	w11, #44032
	movk	w11, #2263, lsl #16
	mov	w12, #8918
	mov	w13, #54784
	movk	w13, #1131, lsl #16
	cmp	x1, x13
	mov	w13, #6272
	mov	w14, #17836
	csel	w13, w13, w14, ne
	cmp	x1, x11
	csel	w11, w12, w13, eq
	cmp	x1, x10
	csel	w9, w9, w11, eq
	mul	w0, w9, w8
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_14:
	lsl	w8, w0, #7
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	umull	x8, w8, w9
	lsr	x0, x8, #38
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_15:
	mov	w9, #54784
	movk	w9, #1131, lsl #16
	cmp	x1, x9
	b.eq	LBB0_21
; %bb.16:
	mov	w9, #44032
	movk	w9, #2263, lsl #16
	cmp	x1, x9
	b.eq	LBB0_21
LBB0_17:
	mov	w9, #4096
	mul	w0, w9, w8
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_18:
	mov	w9, #54784
	movk	w9, #1131, lsl #16
	cmp	x1, x9
	b.eq	LBB0_21
; %bb.19:
	mov	w9, #44032
	movk	w9, #2263, lsl #16
	cmp	x1, x9
	b.ne	LBB0_22
; %bb.20:
	mov	w9, #5824
	mul	w0, w9, w8
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_21:
	mov	w9, #11648
	mul	w0, w9, w8
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_22:
	mov	w9, #6144
	mul	w0, w9, w8
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_23:
	mov	w9, #4576
	mul	w0, w9, w8
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_24:
	mov	w9, #6864
	mul	w0, w9, w8
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hdmi_compute_n
.subsections_via_symbols
