	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TIFFReverseBits                ## -- Begin function TIFFReverseBits
	.p2align	4, 0x90
_TIFFReverseBits:                       ## @TIFFReverseBits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$9, %esi
	jl	LBB0_3
## %bb.1:
	movq	_TIFFBitRevTable@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, %ecx
	movq	(%rdi), %rdx
	movq	8(%rdi), %rsi
	movq	(%rax,%rdx,8), %rdx
	movq	%rdx, (%rdi)
	movq	(%rax,%rsi,8), %rdx
	movq	%rdx, 8(%rdi)
	movq	16(%rdi), %rdx
	movq	(%rax,%rdx,8), %rdx
	movq	%rdx, 16(%rdi)
	movq	24(%rdi), %rdx
	movq	(%rax,%rdx,8), %rdx
	movq	%rdx, 24(%rdi)
	movq	32(%rdi), %rdx
	movq	(%rax,%rdx,8), %rdx
	movq	%rdx, 32(%rdi)
	movq	40(%rdi), %rdx
	movq	(%rax,%rdx,8), %rdx
	movq	%rdx, 40(%rdi)
	movq	48(%rdi), %rdx
	movq	(%rax,%rdx,8), %rdx
	movq	%rdx, 48(%rdi)
	movq	56(%rdi), %rdx
	movq	(%rax,%rdx,8), %rdx
	movq	%rdx, 56(%rdi)
	addq	$64, %rdi
	leal	-8(%rcx), %esi
	cmpl	$16, %ecx
	ja	LBB0_2
	jmp	LBB0_4
LBB0_3:
	testl	%esi, %esi
	jle	LBB0_6
LBB0_4:
	movq	_TIFFBitRevTable@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incl	%esi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	%rcx, (%rdi)
	addq	$8, %rdi
	decl	%esi
	cmpl	$1, %esi
	ja	LBB0_5
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIFFBitRevTable,8,3            ## @TIFFBitRevTable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TIFFReverseBits                ; -- Begin function TIFFReverseBits
	.p2align	2
_TIFFReverseBits:                       ; @TIFFReverseBits
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TIFFBitRevTable@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIFFBitRevTable@GOTPAGEOFF]
	cmp	w1, #9
	b.lt	LBB0_3
; %bb.1:
	ldr	x9, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x10, x11, [x0]
	ldr	x10, [x9, x10, lsl #3]
	str	x10, [x0]
	ldr	x10, [x9, x11, lsl #3]
	str	x10, [x0, #8]
	ldp	x10, x11, [x0, #16]
	ldr	x10, [x9, x10, lsl #3]
	str	x10, [x0, #16]
	ldr	x10, [x9, x11, lsl #3]
	str	x10, [x0, #24]
	ldp	x10, x11, [x0, #32]
	ldr	x10, [x9, x10, lsl #3]
	str	x10, [x0, #32]
	ldr	x10, [x9, x11, lsl #3]
	str	x10, [x0, #40]
	ldp	x10, x11, [x0, #48]
	ldr	x10, [x9, x10, lsl #3]
	str	x10, [x0, #48]
	mov	x10, x1
	ldr	x11, [x9, x11, lsl #3]
	str	x11, [x0, #56]
	add	x0, x0, #64
	sub	w1, w1, #8
	cmp	w10, #16
	b.hi	LBB0_2
	b	LBB0_4
LBB0_3:
	cmp	w1, #1
	b.lt	LBB0_6
LBB0_4:
	ldr	x8, [x8]
	add	w9, w1, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x0]
	ldr	x10, [x8, x10, lsl #3]
	str	x10, [x0], #8
	sub	w9, w9, #1
	cmp	w9, #1
	b.hi	LBB0_5
LBB0_6:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TIFFBitRevTable,8,3            ; @TIFFBitRevTable
.subsections_via_symbols
