	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function has_flip_h
_has_flip_h:                            ## @has_flip_h
	.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	_DRM_MODE_ROTATE_0@GOTPCREL(%rip), %rax
	movq	_DRM_MODE_ROTATE_90@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	orl	(%rax), %esi
	movq	_DRM_MODE_REFLECT_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_drm_rotation_simplify
	testl	%eax, (%rbx)
	jne	LBB0_1
## %bb.2:
	movq	_DRM_MODE_REFLECT_X@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_1:
	movq	_DRM_MODE_REFLECT_Y@GOTPCREL(%rip), %rdx
LBB0_3:
	xorl	%ecx, %ecx
	testl	%eax, (%rdx)
	setne	%cl
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_ROTATE_0,4,2          ## @DRM_MODE_ROTATE_0
	.comm	_DRM_MODE_ROTATE_90,4,2         ## @DRM_MODE_ROTATE_90
	.comm	_DRM_MODE_REFLECT_MASK,4,2      ## @DRM_MODE_REFLECT_MASK
	.comm	_DRM_MODE_REFLECT_Y,4,2         ## @DRM_MODE_REFLECT_Y
	.comm	_DRM_MODE_REFLECT_X,4,2         ## @DRM_MODE_REFLECT_X
	.no_dead_strip	_has_flip_h
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function has_flip_h
_has_flip_h:                            ; @has_flip_h
	.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
Lloh0:
	adrp	x8, _DRM_MODE_ROTATE_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_ROTATE_0@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x19, _DRM_MODE_ROTATE_90@GOTPAGE
Lloh4:
	ldr	x19, [x19, _DRM_MODE_ROTATE_90@GOTPAGEOFF]
	ldr	w9, [x19]
	orr	w8, w9, w8
Lloh5:
	adrp	x9, _DRM_MODE_REFLECT_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DRM_MODE_REFLECT_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_drm_rotation_simplify
	ldr	w8, [x19]
Lloh8:
	adrp	x9, _DRM_MODE_REFLECT_X@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DRM_MODE_REFLECT_X@GOTPAGEOFF]
Lloh10:
	adrp	x10, _DRM_MODE_REFLECT_Y@GOTPAGE
Lloh11:
	ldr	x10, [x10, _DRM_MODE_REFLECT_Y@GOTPAGEOFF]
	tst	w8, w0
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	tst	w8, w0
	cset	w0, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_ROTATE_0,4,2          ; @DRM_MODE_ROTATE_0
	.comm	_DRM_MODE_ROTATE_90,4,2         ; @DRM_MODE_ROTATE_90
	.comm	_DRM_MODE_REFLECT_MASK,4,2      ; @DRM_MODE_REFLECT_MASK
	.comm	_DRM_MODE_REFLECT_Y,4,2         ; @DRM_MODE_REFLECT_Y
	.comm	_DRM_MODE_REFLECT_X,4,2         ; @DRM_MODE_REFLECT_X
	.no_dead_strip	_has_flip_h
.subsections_via_symbols
