	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c_dw_scl_hcnt                ## -- Begin function i2c_dw_scl_hcnt
	.p2align	4, 0x90
_i2c_dw_scl_hcnt:                       ## @i2c_dw_scl_hcnt
	.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 $r8d killed $r8d def $r8
	xorl	%eax, %eax
	xorl	%r9d, %r9d
	testl	%ecx, %ecx
	cmovel	%edx, %eax
	sete	%r9b
	addl	%esi, %eax
	leal	(%r9,%r9,4), %ecx
	imull	%edi, %eax
	addl	$500000, %eax                   ## imm = 0x7A120
	cltq
	imulq	$1125899907, %rax, %rax         ## imm = 0x431BDE83
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$50, %rax
	addl	%edx, %eax
	addl	%ecx, %eax
	addl	%r8d, %eax
	addl	$-8, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c_dw_scl_hcnt                ; -- Begin function i2c_dw_scl_hcnt
	.p2align	2
_i2c_dw_scl_hcnt:                       ; @i2c_dw_scl_hcnt
	.cfi_startproc
; %bb.0:
	cmp	w3, #0
	csel	w8, w2, wzr, eq
	add	w8, w8, w1
	mov	w9, #-8
	mov	w10, #-3
	csel	w9, w10, w9, eq
	mov	w10, #41248
	movk	w10, #7, lsl #16
	madd	w8, w8, w0, w10
	mov	w10, #56963
	movk	w10, #17179, lsl #16
	smull	x8, w8, w10
	lsr	x10, x8, #63
	asr	x8, x8, #50
	add	w8, w8, w10
	add	w8, w8, w9
	add	w0, w8, w4
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
