	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_wdog
_set_wdog:                              ## @set_wdog
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %eax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	testl	%esi, %esi
	je	LBB0_3
## %bb.2:
	imull	%esi, %eax
	movq	_NSEC_PER_SEC@GOTPCREL(%rip), %rcx
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	(%rcx)
	movl	%eax, %r14d
	jmp	LBB0_4
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	imulq	$850, %rax, %rax                ## imm = 0x352
	shrq	$3, %rax
	movabsq	$2361183241434822607, %rcx      ## imm = 0x20C49BA5E353F7CF
	mulq	%rcx
	movq	%rdx, %r14
	shrq	$4, %r14
LBB0_4:
	movq	8(%rdi), %rdi
	movq	(%rdi), %rbx
	callq	_MIO_EMM_WDOG
	addq	%rax, %rbx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writeq                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NSEC_PER_SEC,4,2               ## @NSEC_PER_SEC
	.no_dead_strip	_set_wdog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_wdog
_set_wdog:                              ; @set_wdog
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	cbz	w1, LBB0_4
; %bb.2:
	mul	w8, w8, w1
Lloh0:
	adrp	x9, _NSEC_PER_SEC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NSEC_PER_SEC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	udiv	w19, w8, w9
	b	LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w9, #850
	mul	x8, x8, x9
	lsr	x8, x8, #3
	mov	x9, #63439
	movk	x9, #58195, lsl #16
	movk	x9, #39845, lsl #32
	movk	x9, #8388, lsl #48
	umulh	x8, x8, x9
	lsr	x19, x8, #4
LBB0_5:
	ldr	x0, [x0, #8]
	ldr	x20, [x0]
	bl	_MIO_EMM_WDOG
	add	x1, x0, x20
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writeq
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NSEC_PER_SEC,4,2               ; @NSEC_PER_SEC
	.no_dead_strip	_set_wdog
.subsections_via_symbols
