	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function synaptics_i2c_adjust_delay
_synaptics_i2c_adjust_delay:            ## @synaptics_i2c_adjust_delay
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_polling_req@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.1:
	movq	%rdi, %rcx
	movq	(%rdi), %rdi
	testl	%esi, %esi
	je	LBB0_3
## %bb.2:
	movq	$0, 8(%rcx)
	popq	%rbp
	jmp	_msecs_to_jiffies               ## TAILCALL
LBB0_10:
	movq	_THREAD_IRQ_SLEEP_MSECS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_msecs_to_jiffies
	movq	%rax, %rdi
	popq	%rbp
	jmp	_round_jiffies_relative         ## TAILCALL
LBB0_3:
	movq	_NO_DATA_THRES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rdx
	orq	%rdi, %rdx
	shrq	$32, %rdx
	je	LBB0_4
## %bb.5:
	xorl	%edx, %edx
	divq	%rdi
	jmp	LBB0_6
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
LBB0_6:
	movq	8(%rcx), %rdx
	cmpq	%rax, %rdx
	jae	LBB0_8
## %bb.7:
	incq	%rdx
	movq	%rdx, 8(%rcx)
	popq	%rbp
	jmp	_msecs_to_jiffies               ## TAILCALL
LBB0_8:
	movq	_NO_DATA_SLEEP_MSECS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	popq	%rbp
	jmp	_msecs_to_jiffies               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_polling_req,8,3                ## @polling_req
	.comm	_NO_DATA_THRES,8,3              ## @NO_DATA_THRES
	.comm	_NO_DATA_SLEEP_MSECS,8,3        ## @NO_DATA_SLEEP_MSECS
	.comm	_THREAD_IRQ_SLEEP_MSECS,8,3     ## @THREAD_IRQ_SLEEP_MSECS
	.no_dead_strip	_synaptics_i2c_adjust_delay
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function synaptics_i2c_adjust_delay
_synaptics_i2c_adjust_delay:            ; @synaptics_i2c_adjust_delay
	.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
Lloh0:
	adrp	x9, _polling_req@GOTPAGE
Lloh1:
	ldr	x9, [x9, _polling_req@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cbz	x9, LBB0_3
; %bb.1:
	mov	x8, x0
	ldr	x0, [x0]
	cbz	w1, LBB0_4
; %bb.2:
	str	xzr, [x8, #8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_msecs_to_jiffies
LBB0_3:
Lloh3:
	adrp	x8, _THREAD_IRQ_SLEEP_MSECS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _THREAD_IRQ_SLEEP_MSECS@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	bl	_msecs_to_jiffies
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_round_jiffies_relative
LBB0_4:
Lloh6:
	adrp	x9, _NO_DATA_THRES@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NO_DATA_THRES@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	udiv	x10, x9, x0
	ldr	x9, [x8, #8]
	cmp	x9, x10
	b.hs	LBB0_6
; %bb.5:
	add	x9, x9, #1
	str	x9, [x8, #8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_msecs_to_jiffies
LBB0_6:
Lloh9:
	adrp	x8, _NO_DATA_SLEEP_MSECS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NO_DATA_SLEEP_MSECS@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_msecs_to_jiffies
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_polling_req,8,3                ; @polling_req
	.comm	_NO_DATA_THRES,8,3              ; @NO_DATA_THRES
	.comm	_NO_DATA_SLEEP_MSECS,8,3        ; @NO_DATA_SLEEP_MSECS
	.comm	_THREAD_IRQ_SLEEP_MSECS,8,3     ; @THREAD_IRQ_SLEEP_MSECS
	.no_dead_strip	_synaptics_i2c_adjust_delay
.subsections_via_symbols
