	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calculate_hxo_and_hyo
_calculate_hxo_and_hyo:                 ## @calculate_hxo_and_hyo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	movq	_MASK_B0@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	notl	%edi
	andl	(%rsi), %edi
	andl	$-3841, %edi                    ## imm = 0xF0FF
	orl	4(%rax), %edi
	movl	%edi, (%rsi)
	movq	_MASK_W0@GOTPCREL(%rip), %rax
	movq	_MASK_B2@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rax), %esi
	notl	%esi
	andl	(%rdx), %esi
	shll	$12, %ecx
	orl	%esi, %ecx
	movl	%ecx, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MASK_B0,4,2                    ## @MASK_B0
	.comm	_MASK_W0,4,2                    ## @MASK_W0
	.comm	_MASK_B2,4,2                    ## @MASK_B2
	.no_dead_strip	_calculate_hxo_and_hyo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calculate_hxo_and_hyo
_calculate_hxo_and_hyo:                 ; @calculate_hxo_and_hyo
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MASK_B0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MASK_B0@GOTPAGEOFF]
	ldp	w10, w8, [x8]
Lloh2:
	ldr	w9, [x9]
	ldr	w11, [x1]
	bic	w9, w11, w9
	and	w9, w9, #0xfffff0ff
	orr	w8, w9, w8
	str	w8, [x1]
Lloh3:
	adrp	x8, _MASK_W0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MASK_W0@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MASK_B2@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MASK_B2@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x2]
	bic	w8, w9, w8
	orr	w8, w8, w10, lsl #12
	str	w8, [x2]
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MASK_B0,4,2                    ; @MASK_B0
	.comm	_MASK_W0,4,2                    ; @MASK_W0
	.comm	_MASK_B2,4,2                    ; @MASK_B2
	.no_dead_strip	_calculate_hxo_and_hyo
.subsections_via_symbols
