	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isl29501_set_freq
_isl29501_set_freq:                     ## @isl29501_set_freq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	imull	$1000000, %esi, %eax            ## imm = 0xF4240
	movslq	%edx, %rsi
	imulq	$1125899907, %rsi, %rcx         ## imm = 0x431BDE83
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$50, %rcx
	addl	%edx, %ecx
	imull	$1000000, %ecx, %ecx            ## imm = 0xF4240
	subl	%ecx, %esi
	addl	%eax, %esi
	movl	$2222000000, %edi               ## imm = 0x84710780
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_do_div
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_REG_SAMPLE_TIME,4,2            ## @REG_SAMPLE_TIME
	.no_dead_strip	_isl29501_set_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isl29501_set_freq
_isl29501_set_freq:                     ; @isl29501_set_freq
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w8, #16960
	movk	w8, #15, lsl #16
	mov	w9, #56963
	movk	w9, #17179, lsl #16
	smull	x9, w2, w9
	lsr	x10, x9, #63
	asr	x9, x9, #50
	add	w9, w9, w10
	msub	w9, w9, w8, w2
	madd	w1, w1, w8, w9
	mov	w0, #1920
	movk	w0, #33905, lsl #16
	bl	_do_div
Lloh0:
	adrp	x8, _ERANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_REG_SAMPLE_TIME,4,2            ; @REG_SAMPLE_TIME
	.no_dead_strip	_isl29501_set_freq
.subsections_via_symbols
