	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TIFFSwabArrayOfTriples         ## -- Begin function TIFFSwabArrayOfTriples
	.p2align	4, 0x90
_TIFFSwabArrayOfTriples:                ## @TIFFSwabArrayOfTriples
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	testl	%esi, %esi
	jle	LBB0_8
## %bb.1:
	leal	-1(%rsi), %r8d
	movl	%esi, %r9d
	andl	$3, %r9d
	je	LBB0_5
## %bb.2:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi), %eax
	movzbl	2(%rdi), %ecx
	movb	%al, 2(%rdi)
	movb	%cl, (%rdi)
	addq	$12, %rdi
	incl	%edx
	cmpl	%edx, %r9d
	jne	LBB0_3
## %bb.4:
	subl	%edx, %esi
LBB0_5:
	cmpl	$3, %r8d
	jb	LBB0_8
## %bb.6:
	addq	$38, %rdi
	decl	%esi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-38(%rdi), %eax
	movzbl	-36(%rdi), %ecx
	movb	%al, -36(%rdi)
	movb	%cl, -38(%rdi)
	movzbl	-24(%rdi), %eax
	movzbl	-26(%rdi), %ecx
	movb	%cl, -24(%rdi)
	movb	%al, -26(%rdi)
	movzbl	-12(%rdi), %eax
	movzbl	-14(%rdi), %ecx
	movb	%cl, -12(%rdi)
	movb	%al, -14(%rdi)
	movzbl	(%rdi), %eax
	movzbl	-2(%rdi), %ecx
	movb	%cl, (%rdi)
	movb	%al, -2(%rdi)
	addq	$48, %rdi
	addl	$-4, %esi
	cmpl	$-2, %esi
	jb	LBB0_7
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TIFFSwabArrayOfTriples         ; -- Begin function TIFFSwabArrayOfTriples
	.p2align	2
_TIFFSwabArrayOfTriples:                ; @TIFFSwabArrayOfTriples
	.cfi_startproc
; %bb.0:
	subs	w8, w1, #1
	b.lt	LBB0_8
; %bb.1:
	b.eq	LBB0_5
; %bb.2:
	add	x9, x8, #1
	and	x10, x9, #0x1fffffffe
	mov	w8, #12
	madd	x8, x10, x8, x0
	sub	w1, w1, w10
	add	x11, x0, #14
	mov	x12, x10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldurb	w13, [x11, #-12]
	ldrb	w14, [x11]
	ldurb	w15, [x11, #-14]
	ldurb	w16, [x11, #-2]
	sturb	w15, [x11, #-12]
	strb	w16, [x11]
	sturb	w13, [x11, #-14]
	sturb	w14, [x11, #-2]
	add	x11, x11, #24
	subs	x12, x12, #2
	b.ne	LBB0_3
; %bb.4:
	cmp	x9, x10
	b.ne	LBB0_6
	b	LBB0_8
LBB0_5:
	mov	x8, x0
LBB0_6:
	add	x8, x8, #2
	add	w9, w1, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x8]
	ldurb	w11, [x8, #-2]
	strb	w11, [x8]
	sturb	w10, [x8, #-2]
	add	x8, x8, #12
	sub	w9, w9, #1
	cmp	w9, #1
	b.hi	LBB0_7
LBB0_8:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
