	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_route_ipv6_clear_host_bits     ## -- Begin function route_ipv6_clear_host_bits
	.p2align	4, 0x90
_route_ipv6_clear_host_bits:            ## @route_ipv6_clear_host_bits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$127, %eax
	jg	LBB0_6
## %bb.1:
	movl	$128, %ecx
	subl	%eax, %ecx
	movl	$30, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$7, %ecx
	jbe	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rdi), %rdx
	movl	$0, (%rdx,%rax,2)
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	-8(%rcx), %edx
	addq	$-2, %rax
	cmpl	$8, %ecx
	movl	%edx, %ecx
	jne	LBB0_2
LBB0_6:
	popq	%rbp
	retq
LBB0_3:
	movl	$255, %edx
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %edx
	movq	8(%rdi), %rcx
	andl	%edx, (%rcx,%rax,2)
	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	_route_ipv6_clear_host_bits     ; -- Begin function route_ipv6_clear_host_bits
	.p2align	2
_route_ipv6_clear_host_bits:            ; @route_ipv6_clear_host_bits
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #127
	b.gt	LBB0_5
; %bb.1:
	mov	w9, #128
	sub	w9, w9, w8
	mov	w8, #60
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #7
	b.ls	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x0, #8]
	str	wzr, [x10, x8]
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w10, w9, #8
	sub	x8, x8, #4
	cmp	w9, #8
	mov	x9, x10
	b.ne	LBB0_2
LBB0_5:
	ret
LBB0_6:
	mov	w10, #255
	lsl	w9, w10, w9
	ldr	x10, [x0, #8]
	ldr	w11, [x10, x8]
	and	w9, w11, w9
	str	w9, [x10, x8]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
