	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet6_rth_reverse              ## -- Begin function inet6_rth_reverse
	.p2align	4, 0x90
_inet6_rth_reverse:                     ## @inet6_rth_reverse
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	$-1, %eax
	cmpl	$128, (%rdi)
	jne	LBB0_3
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %rsi
	movq	%rbx, %rdi
	movl	$1032, %edx                     ## imm = 0x408
	callq	_memmove
	movl	$64, 4(%rbx)
	leaq	260(%rbx), %rcx
	xorl	%eax, %eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx,%rdx,4), %esi
	movl	(%rcx), %edi
	movl	%edi, 8(%rbx,%rdx,4)
	movl	%esi, (%rcx)
	movl	12(%rbx,%rdx,4), %esi
	movl	-4(%rcx), %edi
	movl	%edi, 12(%rbx,%rdx,4)
	movl	%esi, -4(%rcx)
	addq	$2, %rdx
	addq	$-8, %rcx
	cmpq	$32, %rdx
	jne	LBB0_2
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	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	_inet6_rth_reverse              ; -- Begin function inet6_rth_reverse
	.p2align	2
_inet6_rth_reverse:                     ; @inet6_rth_reverse
	.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
	ldr	w8, [x0]
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x1, x0
	mov	x0, x19
	mov	w2, #1032
	bl	_memmove
	mov	x8, #0
	mov	w9, #64
	str	w9, [x19, #4]
	add	x9, x19, #8
	add	x10, x19, #260
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9, x8]
	ldr	w12, [x10]
	str	w12, [x9, x8]
	str	w11, [x10], #-4
	add	x8, x8, #4
	cmp	x8, #128
	b.ne	LBB0_2
; %bb.3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
