	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_change_qos                 ## -- Begin function svc_change_qos
	.p2align	4, 0x90
_svc_change_qos:                        ## @svc_change_qos
	.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	%rsi, %r13
	movq	%rdi, %rbx
	callq	_sk_atm
	movq	%rax, %r14
	movq	_wait@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_DEFINE_WAIT
	movq	_ATM_VF_WAITING@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movl	4(%r14), %edi
	movq	_TASK_UNINTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_prepare_to_wait
	movq	_as_modify@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	4(%rbx), %r8
	movl	$0, (%rsp)
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r13, %r9
	callq	_sigd_enq2
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_ATM_VF_RELEASED@GOTPCREL(%rip), %r12
	movq	_sigd@GOTPCREL(%rip), %r13
	movq	_wait@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%r13)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_schedule
	movl	4(%r14), %edi
	movq	_TASK_UNINTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_prepare_to_wait
	movq	_ATM_VF_WAITING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_2
LBB0_5:
	movl	4(%r14), %edi
	movq	_wait@GOTPCREL(%rip), %rsi
	callq	_finish_wait
	movq	_sigd@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	_EUNATCH@GOTPCREL(%rip), %r14
LBB0_7:
	xorl	%eax, %eax
	subl	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wait,4,2                       ## @wait
	.comm	_ATM_VF_WAITING,4,2             ## @ATM_VF_WAITING
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ## @TASK_UNINTERRUPTIBLE
	.comm	_as_modify,4,2                  ## @as_modify
	.comm	_ATM_VF_RELEASED,4,2            ## @ATM_VF_RELEASED
	.comm	_sigd,8,3                       ## @sigd
	.comm	_EUNATCH,4,2                    ## @EUNATCH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_change_qos                 ; -- Begin function svc_change_qos
	.p2align	2
_svc_change_qos:                        ; @svc_change_qos
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x20, x0
	bl	_sk_atm
	mov	x19, x0
Lloh0:
	adrp	x22, _wait@GOTPAGE
Lloh1:
	ldr	x22, [x22, _wait@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_DEFINE_WAIT
Lloh2:
	adrp	x23, _ATM_VF_WAITING@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ATM_VF_WAITING@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x20
	bl	_set_bit
	ldr	w0, [x19, #4]
Lloh4:
	adrp	x24, _TASK_UNINTERRUPTIBLE@GOTPAGE
Lloh5:
	ldr	x24, [x24, _TASK_UNINTERRUPTIBLE@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x1, x22
	bl	_prepare_to_wait
Lloh6:
	adrp	x8, _as_modify@GOTPAGE
Lloh7:
	ldr	x8, [x8, _as_modify@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x4, x20, #4
	mov	x0, x20
	mov	x2, #0
	mov	x3, #0
	mov	x5, x21
	mov	w6, #0
	bl	_sigd_enq2
	ldr	w0, [x23]
	mov	x1, x20
	bl	_test_bit
Lloh9:
	adrp	x22, _sigd@GOTPAGE
Lloh10:
	ldr	x22, [x22, _sigd@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.1:
Lloh11:
	adrp	x25, _ATM_VF_RELEASED@GOTPAGE
Lloh12:
	ldr	x25, [x25, _ATM_VF_RELEASED@GOTPAGEOFF]
Lloh13:
	adrp	x21, _wait@GOTPAGE
Lloh14:
	ldr	x21, [x21, _wait@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25]
	mov	x1, x20
	bl	_test_bit
	ldr	x8, [x22]
	cmp	x0, #0
	ccmp	x8, #0, #4, eq
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_schedule
	ldr	w0, [x19, #4]
	ldr	w2, [x24]
	mov	x1, x21
	bl	_prepare_to_wait
	ldr	w0, [x23]
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_2
LBB0_4:
	ldr	w0, [x19, #4]
Lloh15:
	adrp	x1, _wait@GOTPAGE
Lloh16:
	ldr	x1, [x1, _wait@GOTPAGEOFF]
	bl	_finish_wait
Lloh17:
	adrp	x8, _EUNATCH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EUNATCH@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x9, #0
	csel	x8, x8, x19, eq
	ldr	w8, [x8]
	neg	w0, w8
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_wait,4,2                       ; @wait
	.comm	_ATM_VF_WAITING,4,2             ; @ATM_VF_WAITING
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ; @TASK_UNINTERRUPTIBLE
	.comm	_as_modify,4,2                  ; @as_modify
	.comm	_ATM_VF_RELEASED,4,2            ; @ATM_VF_RELEASED
	.comm	_sigd,8,3                       ; @sigd
	.comm	_EUNATCH,4,2                    ; @EUNATCH
.subsections_via_symbols
