	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sethvflip
_sethvflip:                             ## @sethvflip
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movl	(%rax), %eax
	movl	(%rdi), %ecx
	movq	_FL_HFLIP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ecx, %edx
	xorl	%esi, %esi
	testl	%eax, %eax
	sete	%sil
	testl	%edx, %edx
	cmovel	%eax, %esi
	xorl	%ebx, %ebx
	testl	%esi, %esi
	setne	%bl
	movq	8(%rdi), %rax
	movl	(%rax), %eax
	movq	_FL_VFLIP@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	xorl	%edx, %edx
	testl	%eax, %eax
	sete	%dl
	testl	%ecx, %ecx
	cmovel	%eax, %edx
	xorl	%r15d, %r15d
	testl	%edx, %edx
	setne	%r15b
	movl	$255, %esi
	movl	$3, %edx
	callq	_reg_w
	shll	$3, %ebx
	leal	(%rbx,%r15,4), %edx
	movq	%r14, %rdi
	movl	$33, %esi
	callq	_reg_w
	movq	%r14, %rdi
	movl	$17, %esi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reg_w                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FL_HFLIP,4,2                   ## @FL_HFLIP
	.comm	_FL_VFLIP,4,2                   ## @FL_VFLIP
	.no_dead_strip	_sethvflip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sethvflip
_sethvflip:                             ; @sethvflip
	.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	x19, x0
	ldp	x9, x8, [x0, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x10, _FL_HFLIP@GOTPAGE
Lloh1:
	ldr	x10, [x10, _FL_HFLIP@GOTPAGEOFF]
	ldr	w11, [x0]
Lloh2:
	ldr	w10, [x10]
	cmp	w8, #0
	cset	w12, eq
	tst	w10, w11
	csel	w8, w8, w12, eq
	cmp	w8, #0
	cset	w20, ne
	ldr	w8, [x9]
Lloh3:
	adrp	x9, _FL_VFLIP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FL_VFLIP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, #0
	cset	w10, eq
	tst	w9, w11
	csel	w8, w8, w10, eq
	cmp	w8, #0
	cset	w21, ne
	mov	w1, #255
	mov	w2, #3
	bl	_reg_w
	lsl	w2, w20, #3
	bfi	w2, w21, #2, #1
	mov	x0, x19
	mov	w1, #33
	bl	_reg_w
	mov	x0, x19
	mov	w1, #17
	mov	w2, #1
	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
	b	_reg_w
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FL_HFLIP,4,2                   ; @FL_HFLIP
	.comm	_FL_VFLIP,4,2                   ; @FL_VFLIP
	.no_dead_strip	_sethvflip
.subsections_via_symbols
