	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inf_update_suspends            ## -- Begin function inf_update_suspends
	.p2align	4, 0x90
_inf_update_suspends:                   ## @inf_update_suspends
	.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	%rdi, %r14
	movq	32(%rdi), %r12
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_inf_debug
	testq	%r12, %r12
	je	LBB0_11
## %bb.1:
	movq	(%r12), %rcx
	xorl	%r15d, %r15d
	testq	%rcx, %rcx
	sete	%al
	cmpq	8(%r12), %rcx
	jle	LBB0_2
## %bb.3:
	movq	%r12, %rdi
	callq	_proc_update_sc
	movl	%eax, %r15d
	jmp	LBB0_4
LBB0_2:
	movb	%al, %r15b
LBB0_4:
	xorl	%r13d, %r13d
	cmpq	$0, 24(%r14)
	setne	%r13b
	movq	16(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_proc_update_sc
	orl	%eax, %r13d
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_5
LBB0_7:
	movq	(%r12), %rax
	cmpq	8(%r12), %rax
	je	LBB0_9
## %bb.8:
	movq	%r12, %rdi
	callq	_proc_update_sc
	movl	%eax, %r15d
LBB0_9:
	testl	%r13d, %r13d
	setne	%al
	testl	%r15d, %r15d
	setne	%bl
	andb	%al, %bl
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rdx
	cmovneq	%rax, %rdx
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_inf_debug
	movzbl	%bl, %eax
	movl	%eax, (%r14)
	cmpb	$1, %al
	jne	LBB0_11
## %bb.10:
	movq	$0, 8(%r14)
	movl	$1, %r15d
LBB0_11:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"updating suspend counts"

L_.str.1:                               ## @.str.1
	.asciz	"%srunning..."

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"not "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inf_update_suspends            ; -- Begin function inf_update_suspends
	.p2align	2
_inf_update_suspends:                   ; @inf_update_suspends
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	x20, [x0, #32]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_inf_debug
	cbz	x20, LBB0_9
; %bb.1:
	ldp	x8, x9, [x20]
	cmp	x8, #0
	cset	w21, eq
	cmp	x8, x9
	b.le	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_proc_update_sc
	mov	x21, x0
LBB0_3:
	ldp	x22, x8, [x19, #16]
	cmp	x8, #0
	cset	w23, ne
	cbz	x22, LBB0_5
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_proc_update_sc
	orr	w23, w0, w23
	ldr	x22, [x22, #16]
	cbnz	x22, LBB0_4
LBB0_5:
	ldp	x8, x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_proc_update_sc
	mov	x21, x0
LBB0_7:
	cmp	w23, #0
	cset	w8, ne
	cmp	w21, #0
	cset	w9, ne
Lloh2:
	adrp	x10, l_.str.3@PAGE
Lloh3:
	add	x10, x10, l_.str.3@PAGEOFF
Lloh4:
	adrp	x11, l_.str.2@PAGE
Lloh5:
	add	x11, x11, l_.str.2@PAGEOFF
	ands	w20, w8, w9
	csel	x8, x11, x10, ne
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_inf_debug
	str	w20, [x19]
	cmp	w20, #1
	b.ne	LBB0_9
; %bb.8:
	str	xzr, [x19, #8]
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"updating suspend counts"

l_.str.1:                               ; @.str.1
	.asciz	"%srunning..."

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"not "

.subsections_via_symbols
