	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TileXflipYnorm
_TileXflipYnorm:                        ## @TileXflipYnorm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%esi, %r10
	movl	$1, %eax
	xorl	%r11d, %r11d
	movq	_Pico@GOTPCREL(%rip), %r8
	movq	_LINE_WIDTH@GOTPCREL(%rip), %r9
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r9), %rcx
	addq	%rcx, %rdi
	addq	$2, %r11
	cmpl	$16, %r11d
	je	LBB0_19
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r8), %rcx
	leaq	(%r10,%r11), %rsi
	movl	(%rcx,%rsi), %ecx
	testl	%ecx, %ecx
	je	LBB0_18
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, %eax
	andl	$983040, %eax                   ## imm = 0xF0000
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	shrl	$16, %eax
	orb	%dl, %al
	movb	%al, (%rdi)
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, %eax
	andl	$15728640, %eax                 ## imm = 0xF00000
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	shrl	$20, %eax
	orb	%dl, %al
	movb	%al, 1(%rdi)
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, %eax
	andl	$251658240, %eax                ## imm = 0xF000000
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	shrl	$24, %eax
	orb	%dl, %al
	movb	%al, 2(%rdi)
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$268435456, %ecx                ## imm = 0x10000000
	jb	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, %eax
	shrl	$28, %eax
	orb	%dl, %al
	movb	%al, 3(%rdi)
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, %eax
	andl	$15, %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	orb	%dl, %al
	movb	%al, 4(%rdi)
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, %eax
	andl	$240, %eax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	shrl	$4, %eax
	orb	%dl, %al
	movb	%al, 5(%rdi)
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, %eax
	andl	$3840, %eax                     ## imm = 0xF00
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	shrl	$8, %eax
	orb	%dl, %al
	movb	%al, 6(%rdi)
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	andl	$61440, %ecx                    ## imm = 0xF000
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	shrl	$12, %ecx
	orb	%dl, %cl
	movb	%cl, 7(%rdi)
	jmp	LBB0_18
LBB0_19:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Pico,8,3                       ## @Pico
	.comm	_LINE_WIDTH,4,2                 ## @LINE_WIDTH
	.no_dead_strip	_TileXflipYnorm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TileXflipYnorm
_TileXflipYnorm:                        ; @TileXflipYnorm
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x9, #0
	sxtw	x10, w1
	mov	w8, #1
Lloh0:
	adrp	x11, _Pico@GOTPAGE
Lloh1:
	ldr	x11, [x11, _Pico@GOTPAGEOFF]
Lloh2:
	adrp	x12, _LINE_WIDTH@GOTPAGE
Lloh3:
	ldr	x12, [x12, _LINE_WIDTH@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldrsw	x13, [x12]
	add	x0, x0, x13
	add	x9, x9, #2
	cmp	w9, #16
	b.eq	LBB0_19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11]
	add	x14, x10, x9
	ldr	w13, [x14, x13]
	cbz	w13, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ands	w8, w13, #0xf0000
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	orr	w8, w2, w8, lsr #16
	strb	w8, [x0]
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ands	w8, w13, #0xf00000
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	orr	w8, w2, w8, lsr #20
	strb	w8, [x0, #1]
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ands	w8, w13, #0xf000000
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	orr	w8, w2, w8, lsr #24
	strb	w8, [x0, #2]
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	lsr	w8, w13, #28
	cbz	w8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	orr	w8, w2, w13, lsr #28
	strb	w8, [x0, #3]
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ands	w8, w13, #0xf
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	orr	w8, w8, w2
	strb	w8, [x0, #4]
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ands	w8, w13, #0xf0
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	orr	w8, w2, w8, lsr #4
	strb	w8, [x0, #5]
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	ands	w8, w13, #0xf00
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	orr	w8, w2, w8, lsr #8
	strb	w8, [x0, #6]
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #0
	ands	w13, w13, #0xf000
	b.eq	LBB0_1
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	orr	w13, w2, w13, lsr #12
	strb	w13, [x0, #7]
	b	LBB0_1
LBB0_19:
	mov	x0, x8
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_Pico,8,3                       ; @Pico
	.comm	_LINE_WIDTH,4,2                 ; @LINE_WIDTH
	.no_dead_strip	_TileXflipYnorm
.subsections_via_symbols
