	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qdraw_probe
_qdraw_probe:                           ## @qdraw_probe
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movabsq	$281474976710655, %r15          ## imm = 0xFFFFFFFFFFFF
	movabsq	$73064713216, %r12              ## imm = 0x1102FF0C00
	movq	8(%rdi), %r14
	cmpl	$528, (%rdi)                    ## imm = 0x210
	jl	LBB0_5
## %bb.1:
	leaq	2080(%r14), %rbx
	movq	%rbx, %rdi
	callq	_AV_RB64
	cltq
	andq	%r15, %rax
	cmpq	%r12, %rax
	jne	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	_AV_RB16
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	2072(%r14), %rdi
	callq	_AV_RB16
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_AVPROBE_SCORE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %ecx
	leal	(%rax,%rax,2), %r15d
	addl	$3, %r15d
	testl	%ecx, %ecx
	cmovnsl	%ecx, %r15d
	jmp	LBB0_9
LBB0_5:
	leaq	32(%r14), %rbx
	movq	%rbx, %rdi
	callq	_AV_RB64
	cltq
	andq	%r15, %rax
	xorl	%r15d, %r15d
	cmpq	%r12, %rax
	jne	LBB0_10
## %bb.6:
	movq	%rbx, %rdi
	callq	_AV_RB16
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	addq	$24, %r14
	movq	%r14, %rdi
	callq	_AV_RB16
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	_AVPROBE_SCORE_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	3(%rax), %r15d
	testl	%eax, %eax
	cmovnsl	%eax, %r15d
LBB0_9:
	sarl	$2, %r15d
LBB0_10:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVPROBE_SCORE_MAX,4,2          ## @AVPROBE_SCORE_MAX
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ## @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_qdraw_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qdraw_probe
_qdraw_probe:                           ; @qdraw_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, #3072
	movk	x21, #767, lsl #16
	movk	x21, #17, lsl #32
	ldr	x20, [x0, #8]
	ldr	w8, [x0]
	cmp	w8, #528
	b.lt	LBB0_5
; %bb.1:
	add	x19, x20, #2080
	mov	x0, x19
	bl	_AV_RB64
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	and	x8, x8, #0xffffffffffff
	cmp	x8, x21
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_AV_RB16
	cbz	x0, LBB0_5
; %bb.3:
	add	x0, x20, #2072
	bl	_AV_RB16
	cbz	x0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _AVPROBE_SCORE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVPROBE_SCORE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w8, w8, w8, lsl #1
	b	LBB0_9
LBB0_5:
	add	x19, x20, #32
	mov	x0, x19
	bl	_AV_RB64
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	and	x8, x8, #0xffffffffffff
	cmp	x8, x21
	b.ne	LBB0_10
; %bb.6:
	mov	x0, x19
	bl	_AV_RB16
	cbz	x0, LBB0_11
; %bb.7:
	add	x0, x20, #24
	bl	_AV_RB16
	cbz	x0, LBB0_11
; %bb.8:
Lloh3:
	adrp	x8, _AVPROBE_SCORE_EXTENSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVPROBE_SCORE_EXTENSION@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
LBB0_9:
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #2
	b	LBB0_11
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AVPROBE_SCORE_MAX,4,2          ; @AVPROBE_SCORE_MAX
	.comm	_AVPROBE_SCORE_EXTENSION,4,2    ; @AVPROBE_SCORE_EXTENSION
	.no_dead_strip	_qdraw_probe
.subsections_via_symbols
