	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ite_get_pulse_width_bits
_ite_get_pulse_width_bits:              ## @ite_get_pulse_width_bits
	.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	_ITE_LCF_MIN_CARRIER_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edi, %eax
	cmoval	%eax, %edi
	movq	_ITE_HCF_MAX_CARRIER_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %edi
	cmovael	%eax, %edi
	movl	$1000000000, %eax               ## imm = 0x3B9ACA00
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
	movslq	%esi, %rbx
	imulq	%rax, %rbx
	callq	_ite_is_high_carrier_freq
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$75000, %rbx                    ## imm = 0x124F8
	jb	LBB0_2
## %bb.5:
	cmpq	$85000, %rbx                    ## imm = 0x14C08
	jb	LBB0_6
## %bb.9:
	cmpq	$95000, %rbx                    ## imm = 0x17318
	jb	LBB0_10
## %bb.13:
	cmpq	$108000, %rbx                   ## imm = 0x1A5E0
	jae	LBB0_17
LBB0_16:
	movq	_ITE_TXMPW_D@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_3:
	cmpq	$650000, %rbx                   ## imm = 0x9EB10
	jae	LBB0_7
LBB0_2:
	movq	_ITE_TXMPW_A@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_7:
	cmpq	$785000, %rbx                   ## imm = 0xBFA68
	jae	LBB0_11
LBB0_6:
	movq	_ITE_TXMPW_B@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_11:
	cmpq	$965000, %rbx                   ## imm = 0xEB988
	jae	LBB0_15
LBB0_10:
	movq	_ITE_TXMPW_C@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_15:
	cmpq	$1195000, %rbx                  ## imm = 0x123BF8
	jb	LBB0_16
LBB0_17:
	movq	_ITE_TXMPW_E@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ITE_LCF_MIN_CARRIER_FREQ,4,2   ## @ITE_LCF_MIN_CARRIER_FREQ
	.comm	_ITE_HCF_MAX_CARRIER_FREQ,4,2   ## @ITE_HCF_MAX_CARRIER_FREQ
	.comm	_ITE_TXMPW_A,4,2                ## @ITE_TXMPW_A
	.comm	_ITE_TXMPW_B,4,2                ## @ITE_TXMPW_B
	.comm	_ITE_TXMPW_C,4,2                ## @ITE_TXMPW_C
	.comm	_ITE_TXMPW_D,4,2                ## @ITE_TXMPW_D
	.comm	_ITE_TXMPW_E,4,2                ## @ITE_TXMPW_E
	.no_dead_strip	_ite_get_pulse_width_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ite_get_pulse_width_bits
_ite_get_pulse_width_bits:              ; @ite_get_pulse_width_bits
	.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
                                        ; kill: def $w1 killed $w1 def $x1
Lloh0:
	adrp	x8, _ITE_LCF_MIN_CARRIER_FREQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ITE_LCF_MIN_CARRIER_FREQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	csel	w8, w8, w0, hi
Lloh3:
	adrp	x9, _ITE_HCF_MAX_CARRIER_FREQ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ITE_HCF_MAX_CARRIER_FREQ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w0, w8, w9, lo
	mov	w8, #51712
	movk	w8, #15258, lsl #16
	udiv	w8, w8, w0
	sxtw	x9, w1
	mul	x19, x8, x9
	bl	_ite_is_high_carrier_freq
	cbz	x0, LBB0_5
; %bb.1:
	mov	w8, #9464
	movk	w8, #1, lsl #16
	cmp	x19, x8
	b.lo	LBB0_6
; %bb.2:
	mov	w8, #19464
	movk	w8, #1, lsl #16
	cmp	x19, x8
	b.lo	LBB0_8
; %bb.3:
	mov	w8, #29464
	movk	w8, #1, lsl #16
	cmp	x19, x8
	b.lo	LBB0_10
; %bb.4:
	lsr	x8, x19, #5
Lloh6:
	adrp	x9, _ITE_TXMPW_E@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ITE_TXMPW_E@GOTPAGEOFF]
Lloh8:
	adrp	x10, _ITE_TXMPW_D@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ITE_TXMPW_D@GOTPAGEOFF]
	cmp	x8, #3375
	csel	x8, x10, x9, lo
	b	LBB0_12
LBB0_5:
	mov	w8, #60176
	movk	w8, #9, lsl #16
	cmp	x19, x8
	b.hs	LBB0_7
LBB0_6:
Lloh10:
	adrp	x8, _ITE_TXMPW_A@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ITE_TXMPW_A@GOTPAGEOFF]
	b	LBB0_12
LBB0_7:
	mov	w8, #64104
	movk	w8, #11, lsl #16
	cmp	x19, x8
	b.hs	LBB0_9
LBB0_8:
Lloh12:
	adrp	x8, _ITE_TXMPW_B@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ITE_TXMPW_B@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
	mov	w8, #47496
	movk	w8, #14, lsl #16
	cmp	x19, x8
	b.hs	LBB0_11
LBB0_10:
Lloh14:
	adrp	x8, _ITE_TXMPW_C@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ITE_TXMPW_C@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh16:
	adrp	x8, _ITE_TXMPW_E@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ITE_TXMPW_E@GOTPAGEOFF]
Lloh18:
	adrp	x9, _ITE_TXMPW_D@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ITE_TXMPW_D@GOTPAGEOFF]
	mov	w10, #15352
	movk	w10, #18, lsl #16
	cmp	x19, x10
	csel	x8, x9, x8, lo
LBB0_12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ITE_LCF_MIN_CARRIER_FREQ,4,2   ; @ITE_LCF_MIN_CARRIER_FREQ
	.comm	_ITE_HCF_MAX_CARRIER_FREQ,4,2   ; @ITE_HCF_MAX_CARRIER_FREQ
	.comm	_ITE_TXMPW_A,4,2                ; @ITE_TXMPW_A
	.comm	_ITE_TXMPW_B,4,2                ; @ITE_TXMPW_B
	.comm	_ITE_TXMPW_C,4,2                ; @ITE_TXMPW_C
	.comm	_ITE_TXMPW_D,4,2                ; @ITE_TXMPW_D
	.comm	_ITE_TXMPW_E,4,2                ; @ITE_TXMPW_E
	.no_dead_strip	_ite_get_pulse_width_bits
.subsections_via_symbols
