	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmp_hpel
_cmp_hpel:                              ## @cmp_hpel
	.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
	movl	56(%rbp), %ebx
	movl	48(%rbp), %r12d
	movl	40(%rbp), %r15d
	movl	32(%rbp), %r14d
	movl	24(%rbp), %r11d
	movl	16(%rbp), %r10d
	movq	_FLAG_DIRECT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_3
## %bb.1:
	pushq	$0
	pushq	%r12
	pushq	%r15
	pushq	%r14
	pushq	%r11
	pushq	%r10
	callq	_cmp_direct_inline
	addq	$48, %rsp
	jmp	LBB0_2
LBB0_3:
	movq	_FLAG_CHROMA@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	subq	$8, %rsp
	pushq	%rbx
	pushq	$0
	pushq	%r12
	pushq	%r15
	pushq	%r14
	pushq	%r11
	pushq	%r10
	callq	_cmp_inline
	addq	$64, %rsp
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAG_DIRECT,4,2                ## @FLAG_DIRECT
	.comm	_FLAG_CHROMA,4,2                ## @FLAG_CHROMA
	.no_dead_strip	_cmp_hpel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmp_hpel
_cmp_hpel:                              ; @cmp_hpel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	ldp	w10, w11, [x29, #24]
	ldp	w8, w9, [x29, #16]
Lloh0:
	adrp	x12, _FLAG_DIRECT@GOTPAGE
Lloh1:
	ldr	x12, [x12, _FLAG_DIRECT@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x12]
	tst	w12, w11
	b.eq	LBB0_2
; %bb.1:
	stp	w10, wzr, [x29, #24]
	stp	w8, w9, [x29, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_cmp_direct_inline
LBB0_2:
Lloh3:
	adrp	x12, _FLAG_CHROMA@GOTPAGE
Lloh4:
	ldr	x12, [x12, _FLAG_CHROMA@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x12]
	and	w11, w12, w11
	stp	wzr, w11, [sp, #12]
	stp	w9, w10, [sp, #4]
	str	w8, [sp]
	bl	_cmp_inline
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAG_DIRECT,4,2                ; @FLAG_DIRECT
	.comm	_FLAG_CHROMA,4,2                ; @FLAG_CHROMA
	.no_dead_strip	_cmp_hpel
.subsections_via_symbols
