	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function genwqe_setup_pf_jtimer
_genwqe_setup_pf_jtimer:                ## @genwqe_setup_pf_jtimer
	.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	%rdi, %rbx
	callq	_genwqe_T_psec
	movl	%eax, %ecx
	movq	_GENWQE_PF_JOBTIMEOUT_MSEC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movabsq	$16000000000, %rdx              ## imm = 0x3B9ACA000
	imulq	%rdx, %rax
	leal	(%rcx,%rcx,4), %ecx
	leal	(%rcx,%rcx,2), %ecx
	movslq	%ecx, %rcx
	xorl	%edx, %edx
	divq	%rcx
	movq	%rax, %rdi
	callq	_ilog2
	addl	$246, %eax
	movq	_IO_SLC_VF_APPJOB_TIMEOUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movzbl	%al, %edx
	orl	$65280, %edx                    ## imm = 0xFF00
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_genwqe_write_vreg
	movl	$1, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GENWQE_PF_JOBTIMEOUT_MSEC,8,3  ## @GENWQE_PF_JOBTIMEOUT_MSEC
	.comm	_IO_SLC_VF_APPJOB_TIMEOUT,4,2   ## @IO_SLC_VF_APPJOB_TIMEOUT
	.no_dead_strip	_genwqe_setup_pf_jtimer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function genwqe_setup_pf_jtimer
_genwqe_setup_pf_jtimer:                ; @genwqe_setup_pf_jtimer
	.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
	mov	x19, x0
	bl	_genwqe_T_psec
Lloh0:
	adrp	x8, _GENWQE_PF_JOBTIMEOUT_MSEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GENWQE_PF_JOBTIMEOUT_MSEC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x9, #40960
	movk	x9, #47532, lsl #16
	movk	x9, #3, lsl #32
	mul	x8, x8, x9
	lsl	w9, w0, #4
	sub	w9, w9, w0
	sxtw	x9, w9
	udiv	x0, x8, x9
	bl	_ilog2
	add	w8, w0, #246
Lloh3:
	adrp	x9, _IO_SLC_VF_APPJOB_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IO_SLC_VF_APPJOB_TIMEOUT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	mov	w2, #65280
	bfxil	w2, w8, #0, #8
	mov	x0, x19
	mov	w3, #0
	bl	_genwqe_write_vreg
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GENWQE_PF_JOBTIMEOUT_MSEC,8,3  ; @GENWQE_PF_JOBTIMEOUT_MSEC
	.comm	_IO_SLC_VF_APPJOB_TIMEOUT,4,2   ; @IO_SLC_VF_APPJOB_TIMEOUT
	.no_dead_strip	_genwqe_setup_pf_jtimer
.subsections_via_symbols
