	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpia2_set_property_flip        ## -- Begin function cpia2_set_property_flip
	.p2align	4, 0x90
_cpia2_set_property_flip:               ## @cpia2_set_property_flip
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_CPIA2_CMD_GET_USER_EFFECTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRANSFER_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_cpia2_do_command
	movb	(%rbx), %al
	movq	_CPIA2_VP_USER_EFFECTS_FLIP@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%ecx, %edx
	orb	%al, %dl
	notb	%cl
	andb	%al, %cl
	testl	%r14d, %r14d
	movzbl	%dl, %eax
	movzbl	%cl, %ecx
	cmovnel	%eax, %ecx
	movb	%cl, (%rbx)
	movq	_CPIA2_CMD_SET_USER_EFFECTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRANSFER_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movzbl	%cl, %ecx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_cpia2_do_command               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CPIA2_CMD_GET_USER_EFFECTS,4,2 ## @CPIA2_CMD_GET_USER_EFFECTS
	.comm	_TRANSFER_READ,4,2              ## @TRANSFER_READ
	.comm	_CPIA2_VP_USER_EFFECTS_FLIP,1,0 ## @CPIA2_VP_USER_EFFECTS_FLIP
	.comm	_CPIA2_CMD_SET_USER_EFFECTS,4,2 ## @CPIA2_CMD_SET_USER_EFFECTS
	.comm	_TRANSFER_WRITE,4,2             ## @TRANSFER_WRITE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpia2_set_property_flip        ; -- Begin function cpia2_set_property_flip
	.p2align	2
_cpia2_set_property_flip:               ; @cpia2_set_property_flip
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CPIA2_CMD_GET_USER_EFFECTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPIA2_CMD_GET_USER_EFFECTS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _TRANSFER_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRANSFER_READ@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_cpia2_do_command
Lloh6:
	adrp	x8, _CPIA2_VP_USER_EFFECTS_FLIP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CPIA2_VP_USER_EFFECTS_FLIP@GOTPAGEOFF]
	ldrb	w9, [x20]
	ldrb	w8, [x8]
	orr	w10, w8, w9
	bic	w8, w9, w8
	cmp	w19, #0
	csel	w8, w8, w10, eq
	strb	w8, [x20]
Lloh8:
	adrp	x9, _CPIA2_CMD_SET_USER_EFFECTS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CPIA2_CMD_SET_USER_EFFECTS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x9]
Lloh11:
	adrp	x9, _TRANSFER_WRITE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TRANSFER_WRITE@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x9]
	and	w3, w8, #0xff
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cpia2_do_command
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CPIA2_CMD_GET_USER_EFFECTS,4,2 ; @CPIA2_CMD_GET_USER_EFFECTS
	.comm	_TRANSFER_READ,4,2              ; @TRANSFER_READ
	.comm	_CPIA2_VP_USER_EFFECTS_FLIP,1,0 ; @CPIA2_VP_USER_EFFECTS_FLIP
	.comm	_CPIA2_CMD_SET_USER_EFFECTS,4,2 ; @CPIA2_CMD_SET_USER_EFFECTS
	.comm	_TRANSFER_WRITE,4,2             ; @TRANSFER_WRITE
.subsections_via_symbols
