	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inet6_fill_prefix
_inet6_fill_prefix:                     ## @inet6_fill_prefix
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %eax
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	16(%rbp), %r9d
	movl	%ecx, %esi
	movl	%r8d, %edx
	movl	%eax, %ecx
	movl	$56, %r8d
	callq	_nlmsg_put
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_nlmsg_data
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 48(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rax)
	movq	(%r12), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movl	44(%rbx), %ecx
	movl	%ecx, 20(%rax)
	movl	40(%rbx), %ecx
	movl	%ecx, 16(%rax)
	movq	$0, 8(%rax)
	movl	$0, (%rax)
	cmpq	$0, 32(%rbx)
	je	LBB0_3
## %bb.4:
	movq	_IF_PREFIX_ONLINK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	cmpq	$0, 24(%rbx)
	je	LBB0_7
LBB0_6:
	movq	_IF_PREFIX_AUTOCONF@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rax)
LBB0_7:
	movq	_PREFIX_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	8(%rbx), %rcx
	movq	%r15, %rdi
	movl	$16, %edx
	callq	_NLA_PUT
	movl	4(%rbx), %edi
	callq	_ntohl
	movq	%rax, -40(%rbp)
	movl	(%rbx), %edi
	callq	_ntohl
	movq	%rax, -48(%rbp)
	movq	_PREFIX_CACHEINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rcx
	movq	%r15, %rdi
	movl	$16, %edx
	callq	_NLA_PUT
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_nlmsg_end
	jmp	LBB0_8
LBB0_1:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%ecx, %ecx
	cmpq	$0, 24(%rbx)
	jne	LBB0_6
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_IF_PREFIX_ONLINK,4,2           ## @IF_PREFIX_ONLINK
	.comm	_IF_PREFIX_AUTOCONF,4,2         ## @IF_PREFIX_AUTOCONF
	.comm	_PREFIX_ADDRESS,4,2             ## @PREFIX_ADDRESS
	.comm	_PREFIX_CACHEINFO,4,2           ## @PREFIX_CACHEINFO
	.no_dead_strip	_inet6_fill_prefix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inet6_fill_prefix
_inet6_fill_prefix:                     ; @inet6_fill_prefix
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	x1, x3
	mov	x2, x4
	mov	x3, x5
	mov	w4, #56
	mov	x5, x6
	bl	_nlmsg_put
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	bl	_nlmsg_data
Lloh0:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #48]
	stp	xzr, xzr, [x0, #32]
	ldr	x8, [x22]
	ldr	w8, [x8]
	str	w8, [x0, #24]
	ldr	d0, [x21, #40]
	str	d0, [x0, #16]
	str	xzr, [x0, #8]
	str	wzr, [x0]
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _IF_PREFIX_ONLINK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IF_PREFIX_ONLINK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0]
LBB0_3:
	ldr	x9, [x21, #24]
	cbz	x9, LBB0_5
; %bb.4:
Lloh6:
	adrp	x9, _IF_PREFIX_AUTOCONF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IF_PREFIX_AUTOCONF@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x0]
LBB0_5:
Lloh9:
	adrp	x8, _PREFIX_ADDRESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PREFIX_ADDRESS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x3, x21, #8
	mov	x0, x19
	mov	w2, #16
	bl	_NLA_PUT
	ldr	w0, [x21, #4]
	bl	_ntohl
	str	x0, [sp, #8]
	ldr	w0, [x21]
	bl	_ntohl
	str	x0, [sp]
Lloh12:
	adrp	x8, _PREFIX_CACHEINFO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PREFIX_CACHEINFO@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x3, sp
	mov	x0, x19
	mov	w2, #16
	bl	_NLA_PUT
	mov	x0, x19
	mov	x1, x20
	bl	_nlmsg_end
	b	LBB0_7
LBB0_6:
Lloh15:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_IF_PREFIX_ONLINK,4,2           ; @IF_PREFIX_ONLINK
	.comm	_IF_PREFIX_AUTOCONF,4,2         ; @IF_PREFIX_AUTOCONF
	.comm	_PREFIX_ADDRESS,4,2             ; @PREFIX_ADDRESS
	.comm	_PREFIX_CACHEINFO,4,2           ; @PREFIX_CACHEINFO
	.no_dead_strip	_inet6_fill_prefix
.subsections_via_symbols
