	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_qos
_check_qos:                             ## @check_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.3:
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	cmpq	%rax, %rcx
	je	LBB0_7
## %bb.5:
	movq	_ATM_ANYCLASS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rcx
	je	LBB0_7
## %bb.6:
	cmpq	%rdx, %rax
	je	LBB0_7
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_1:
	testq	%rax, %rax
	je	LBB0_2
LBB0_7:
	leaq	8(%rbx), %rdi
	callq	_check_tp
	testl	%eax, %eax
	je	LBB0_9
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_check_tp                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ATM_ANYCLASS,8,3               ## @ATM_ANYCLASS
	.no_dead_strip	_check_qos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_qos
_check_qos:                             ; @check_qos
	.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
	ldr	x9, [x0, #8]!
	ldr	x8, [x19]
	cbz	x9, LBB0_4
; %bb.1:
	cmp	x8, #0
	ccmp	x9, x8, #4, ne
	b.eq	LBB0_5
; %bb.2:
Lloh0:
	adrp	x10, _ATM_ANYCLASS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ATM_ANYCLASS@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_4:
	cbz	x8, LBB0_3
LBB0_5:
	bl	_check_tp
	cbz	w0, LBB0_7
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_check_tp
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ATM_ANYCLASS,8,3               ; @ATM_ANYCLASS
	.no_dead_strip	_check_qos
.subsections_via_symbols
