	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xpc_hb_checker
_xpc_hb_checker:                        ## @xpc_hb_checker
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_XPC_HB_CHECK_CPU@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpumask_of
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_set_cpus_allowed_ptr
	movq	_jiffies@GOTPCREL(%rip), %r15
	movq	_xpc_hb_check_interval@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	%rax, %rcx
	addq	(%r15), %rcx
	movq	_xpc_hb_check_timeout@GOTPCREL(%rip), %r14
	movq	%rcx, (%r14)
	xorl	%eax, %eax
	callq	_xpc_start_hb_beater
	movq	_xpc_exiting@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_1
LBB0_10:
	xorl	%eax, %eax
	callq	_xpc_stop_hb_beater
	movq	_xpc_part@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_xpc_hb_checker_exited@GOTPCREL(%rip), %rdi
	callq	_complete
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_xpc_part@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%cl, %esi
	movl	%ebx, %edi
	callq	_wait_event_interruptible
	cmpq	$0, (%r12)
	jne	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movl	(%r14), %edx
	subl	(%r15), %edx
	movq	_xpc_activate_IRQ_rcvd@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	(%r14), %rdi
	callq	_time_is_before_eq_jiffies
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_xpc_hb_check_interval@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	%rax, %rcx
	addq	(%r15), %rcx
	movq	%rcx, (%r14)
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	xorl	%eax, %eax
	callq	_xpc_check_remote_hb
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_xpc_activate_IRQ_rcvd@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	xorl	%eax, %eax
	movq	_xpc_arch_ops@GOTPCREL(%rip), %rcx
	callq	*(%rcx)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_xpc_activate_IRQ_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r14), %rdi
	callq	_time_is_before_eq_jiffies
	movb	$1, %cl
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_xpc_activate_IRQ_rcvd@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jg	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%r12)
	setne	%cl
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_current,4,2                    ## @current
	.comm	_XPC_HB_CHECK_CPU,4,2           ## @XPC_HB_CHECK_CPU
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_xpc_hb_check_interval,4,2      ## @xpc_hb_check_interval
	.comm	_HZ,4,2                         ## @HZ
	.comm	_xpc_hb_check_timeout,8,3       ## @xpc_hb_check_timeout
	.comm	_xpc_exiting,8,3                ## @xpc_exiting
	.comm	_xpc_part,4,2                   ## @xpc_part
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"woke up with %d ticks rem; %d IRQs have been received\n"

	.comm	_xpc_activate_IRQ_rcvd,8,3      ## @xpc_activate_IRQ_rcvd
L_.str.1:                               ## @.str.1
	.asciz	"checking remote heartbeats\n"

L_.str.2:                               ## @.str.2
	.asciz	"processing activate IRQs received\n"

	.comm	_xpc_arch_ops,8,3               ## @xpc_arch_ops
	.comm	_xpc_activate_IRQ_wq,4,2        ## @xpc_activate_IRQ_wq
L_.str.3:                               ## @.str.3
	.asciz	"heartbeat checker is exiting\n"

	.comm	_xpc_hb_checker_exited,4,2      ## @xpc_hb_checker_exited
	.no_dead_strip	_xpc_hb_checker
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xpc_hb_checker
_xpc_hb_checker:                        ; @xpc_hb_checker
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _current@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _XPC_HB_CHECK_CPU@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XPC_HB_CHECK_CPU@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cpumask_of
	mov	x1, x0
	mov	x0, x19
	bl	_set_cpus_allowed_ptr
Lloh6:
	adrp	x23, _jiffies@GOTPAGE
Lloh7:
	ldr	x23, [x23, _jiffies@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh8:
	adrp	x24, _xpc_hb_check_interval@GOTPAGE
Lloh9:
	ldr	x24, [x24, _xpc_hb_check_interval@GOTPAGEOFF]
Lloh10:
	adrp	x25, _HZ@GOTPAGE
Lloh11:
	ldr	x25, [x25, _HZ@GOTPAGEOFF]
	ldrsw	x9, [x24]
	ldrsw	x10, [x25]
	madd	x8, x10, x9, x8
Lloh12:
	adrp	x26, _xpc_hb_check_timeout@GOTPAGE
Lloh13:
	ldr	x26, [x26, _xpc_hb_check_timeout@GOTPAGEOFF]
	str	x8, [x26]
	bl	_xpc_start_hb_beater
Lloh14:
	adrp	x28, _xpc_exiting@GOTPAGE
Lloh15:
	ldr	x28, [x28, _xpc_exiting@GOTPAGEOFF]
	ldr	x8, [x28]
Lloh16:
	adrp	x27, _xpc_part@GOTPAGE
Lloh17:
	ldr	x27, [x27, _xpc_part@GOTPAGEOFF]
	cbz	x8, LBB0_2
LBB0_1:
	bl	_xpc_stop_hb_beater
	ldr	w0, [x27]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_dbg
Lloh20:
	adrp	x0, _xpc_hb_checker_exited@GOTPAGE
Lloh21:
	ldr	x0, [x0, _xpc_hb_checker_exited@GOTPAGEOFF]
	bl	_complete
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
Lloh22:
	adrp	x20, _xpc_activate_IRQ_rcvd@GOTPAGE
Lloh23:
	ldr	x20, [x20, _xpc_activate_IRQ_rcvd@GOTPAGEOFF]
Lloh24:
	adrp	x19, l_.str@PAGE
Lloh25:
	add	x19, x19, l_.str@PAGEOFF
Lloh26:
	adrp	x21, _xpc_activate_IRQ_wq@GOTPAGE
Lloh27:
	ldr	x21, [x21, _xpc_activate_IRQ_wq@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x28]
	cmp	x8, #0
	cset	w1, ne
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_wait_event_interruptible
	ldr	x8, [x28]
	cbnz	x8, LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x27]
	ldr	x8, [x26]
	ldr	x9, [x23]
	sub	x8, x8, x9
	ldr	x9, [x20]
	stp	x8, x9, [sp]
	mov	x1, x19
	bl	_dev_dbg
	ldr	x0, [x26]
	bl	_time_is_before_eq_jiffies
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	ldrsw	x9, [x24]
	ldrsw	x10, [x25]
	madd	x8, x10, x9, x8
	str	x8, [x26]
	ldr	w0, [x27]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
	bl	_xpc_check_remote_hb
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x27]
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
Lloh32:
	adrp	x8, _xpc_arch_ops@GOTPAGE
Lloh33:
	ldr	x8, [x8, _xpc_arch_ops@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	blr	x8
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w22, [x21]
	ldr	x0, [x26]
	bl	_time_is_before_eq_jiffies
	ldr	x8, [x20]
	cmp	x0, #0
	ccmp	x8, #0, #0, eq
	b.le	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w1, #1
	b	LBB0_4
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_current,4,2                    ; @current
	.comm	_XPC_HB_CHECK_CPU,4,2           ; @XPC_HB_CHECK_CPU
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_xpc_hb_check_interval,4,2      ; @xpc_hb_check_interval
	.comm	_HZ,4,2                         ; @HZ
	.comm	_xpc_hb_check_timeout,8,3       ; @xpc_hb_check_timeout
	.comm	_xpc_exiting,8,3                ; @xpc_exiting
	.comm	_xpc_part,4,2                   ; @xpc_part
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"woke up with %d ticks rem; %d IRQs have been received\n"

	.comm	_xpc_activate_IRQ_rcvd,8,3      ; @xpc_activate_IRQ_rcvd
l_.str.1:                               ; @.str.1
	.asciz	"checking remote heartbeats\n"

l_.str.2:                               ; @.str.2
	.asciz	"processing activate IRQs received\n"

	.comm	_xpc_arch_ops,8,3               ; @xpc_arch_ops
	.comm	_xpc_activate_IRQ_wq,4,2        ; @xpc_activate_IRQ_wq
l_.str.3:                               ; @.str.3
	.asciz	"heartbeat checker is exiting\n"

	.comm	_xpc_hb_checker_exited,4,2      ; @xpc_hb_checker_exited
	.no_dead_strip	_xpc_hb_checker
.subsections_via_symbols
