	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtm_to_fib6_config
_rtm_to_fib6_config:                    ## @rtm_to_fib6_config
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_RTA_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	1(%rbx), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdx
	movq	_rtm_ipv6_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	movl	$32, %esi
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, %ecx
	callq	_nlmsg_parse
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%r12, %r15
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_nlmsg_data
	movq	%rax, %r12
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$104, %edx
	callq	_memset
	movq	24(%r12), %rax
	movq	%rax, 16(%r14)
	movl	(%r12), %eax
	movl	%eax, (%r14)
	movl	4(%r12), %eax
	movl	%eax, 4(%r14)
	movq	_RTF_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%r14)
	movl	16(%r12), %ecx
	movl	%ecx, 96(%r14)
	movq	8(%r12), %rcx
	movq	_RTN_UNREACHABLE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	movq	_RTF_REJECT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, 60(%r14)
LBB0_4:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	_RTN_LOCAL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.5:
	movq	_RTF_LOCAL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 60(%r14)
LBB0_6:
	movq	%r15, %rdi
	callq	_NETLINK_CB
	movl	%eax, 88(%r14)
	movq	%r13, 80(%r14)
	movl	(%r15), %edi
	callq	_sock_net
	movl	%eax, 72(%r14)
	movq	_RTA_GATEWAY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.7:
	leaq	64(%r14), %rdi
	movl	$16, %edx
	callq	_nla_memcpy
	movq	_RTF_GATEWAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 60(%r14)
LBB0_8:
	movq	_RTA_DST@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_11
## %bb.9:
	movl	(%r12), %ebx
	addl	$7, %ebx
	sarl	$3, %ebx
	callq	_nla_len
	cmpl	%ebx, %eax
	jl	LBB0_24
## %bb.10:
	leaq	56(%r14), %rdi
	movq	(%r13), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rsi
	movl	%ebx, %edx
	movq	%rcx, %rbx
	callq	_nla_memcpy
LBB0_11:
	movq	_RTA_SRC@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.12:
	movl	4(%r12), %ebx
	addl	$7, %ebx
	sarl	$3, %ebx
	callq	_nla_len
	cmpl	%ebx, %eax
	jl	LBB0_24
## %bb.13:
	leaq	52(%r14), %rdi
	movq	(%r13), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rsi
	movl	%ebx, %edx
	movq	%rcx, %rbx
	callq	_nla_memcpy
LBB0_14:
	movq	_RTA_PREFSRC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.15:
	leaq	48(%r14), %rdi
	movl	$16, %edx
	callq	_nla_memcpy
LBB0_16:
	movq	_RTA_OIF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	callq	_nla_get_u32
	movq	%rax, 40(%r14)
LBB0_18:
	movq	_RTA_PRIORITY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.19:
	callq	_nla_get_u32
	movq	%rax, 32(%r14)
LBB0_20:
	movq	_RTA_METRICS@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.21:
	callq	_nla_data
	movl	%eax, 24(%r14)
	movq	(%r15), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_len
	movl	%eax, 8(%r14)
LBB0_22:
	movq	_RTA_TABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_24
## %bb.23:
	callq	_nla_get_u32
	movq	%rax, 16(%r14)
	jmp	LBB0_24
LBB0_1:
	movl	%eax, %r15d
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RTA_MAX,4,2                    ## @RTA_MAX
	.comm	_rtm_ipv6_policy,4,2            ## @rtm_ipv6_policy
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RTF_UP,4,2                     ## @RTF_UP
	.comm	_RTN_UNREACHABLE,8,3            ## @RTN_UNREACHABLE
	.comm	_RTF_REJECT,4,2                 ## @RTF_REJECT
	.comm	_RTN_LOCAL,8,3                  ## @RTN_LOCAL
	.comm	_RTF_LOCAL,4,2                  ## @RTF_LOCAL
	.comm	_RTA_GATEWAY,8,3                ## @RTA_GATEWAY
	.comm	_RTF_GATEWAY,4,2                ## @RTF_GATEWAY
	.comm	_RTA_DST,8,3                    ## @RTA_DST
	.comm	_RTA_SRC,8,3                    ## @RTA_SRC
	.comm	_RTA_PREFSRC,8,3                ## @RTA_PREFSRC
	.comm	_RTA_OIF,8,3                    ## @RTA_OIF
	.comm	_RTA_PRIORITY,8,3               ## @RTA_PRIORITY
	.comm	_RTA_METRICS,8,3                ## @RTA_METRICS
	.comm	_RTA_TABLE,8,3                  ## @RTA_TABLE
	.no_dead_strip	_rtm_to_fib6_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtm_to_fib6_config
_rtm_to_fib6_config:                    ; @rtm_to_fib6_config
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x19, x2
	mov	x24, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _RTA_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTA_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	w8, w3, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh8:
	adrp	x8, _rtm_ipv6_policy@GOTPAGE
Lloh9:
	ldr	x8, [x8, _rtm_ipv6_policy@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
	mov	x0, x1
	mov	w1, #32
	mov	x2, x20
	bl	_nlmsg_parse
	tbnz	w0, #31, LBB0_23
; %bb.1:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w22, [x8]
	mov	x0, x24
	bl	_nlmsg_data
	mov	x21, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #104
	bl	_memset
	ldr	x8, [x21, #24]
	str	x8, [x19, #16]
	ldr	d0, [x21]
	str	d0, [x19]
Lloh14:
	adrp	x8, _RTF_UP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RTF_UP@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #60]
	ldr	w9, [x21, #16]
	str	w9, [x19, #96]
	ldr	x9, [x21, #8]
Lloh17:
	adrp	x10, _RTN_UNREACHABLE@GOTPAGE
Lloh18:
	ldr	x10, [x10, _RTN_UNREACHABLE@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
Lloh20:
	adrp	x10, _RTF_REJECT@GOTPAGE
Lloh21:
	ldr	x10, [x10, _RTF_REJECT@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	orr	w8, w10, w8
	str	w8, [x19, #60]
LBB0_3:
Lloh23:
	adrp	x10, _RTN_LOCAL@GOTPAGE
Lloh24:
	ldr	x10, [x10, _RTN_LOCAL@GOTPAGEOFF]
Lloh25:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.4:
Lloh26:
	adrp	x9, _RTF_LOCAL@GOTPAGE
Lloh27:
	ldr	x9, [x9, _RTF_LOCAL@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #60]
LBB0_5:
	neg	w22, w22
	mov	x0, x23
	bl	_NETLINK_CB
	str	w0, [x19, #88]
	str	x24, [x19, #80]
	ldr	w0, [x23]
	bl	_sock_net
	str	w0, [x19, #72]
Lloh29:
	adrp	x8, _RTA_GATEWAY@GOTPAGE
Lloh30:
	ldr	x8, [x8, _RTA_GATEWAY@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	ldr	x1, [x20, x8, lsl #3]
	cbz	x1, LBB0_7
; %bb.6:
	add	x0, x19, #64
	mov	w2, #16
	bl	_nla_memcpy
Lloh32:
	adrp	x8, _RTF_GATEWAY@GOTPAGE
Lloh33:
	ldr	x8, [x8, _RTF_GATEWAY@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	ldr	w9, [x19, #60]
	orr	w8, w9, w8
	str	w8, [x19, #60]
LBB0_7:
Lloh35:
	adrp	x24, _RTA_DST@GOTPAGE
Lloh36:
	ldr	x24, [x24, _RTA_DST@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_10
; %bb.8:
	ldr	w8, [x21]
	add	w8, w8, #7
	asr	w23, w8, #3
	bl	_nla_len
	cmp	w0, w23
	b.lt	LBB0_25
; %bb.9:
	add	x0, x19, #56
	ldr	x8, [x24]
	ldr	x1, [x20, x8, lsl #3]
	mov	x2, x23
	bl	_nla_memcpy
LBB0_10:
Lloh37:
	adrp	x23, _RTA_SRC@GOTPAGE
Lloh38:
	ldr	x23, [x23, _RTA_SRC@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_13
; %bb.11:
	ldr	w8, [x21, #4]
	add	w8, w8, #7
	asr	w21, w8, #3
	bl	_nla_len
	cmp	w0, w21
	b.lt	LBB0_25
; %bb.12:
	add	x0, x19, #52
	ldr	x8, [x23]
	ldr	x1, [x20, x8, lsl #3]
	mov	x2, x21
	bl	_nla_memcpy
LBB0_13:
Lloh39:
	adrp	x8, _RTA_PREFSRC@GOTPAGE
Lloh40:
	ldr	x8, [x8, _RTA_PREFSRC@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	ldr	x1, [x20, x8, lsl #3]
	cbz	x1, LBB0_15
; %bb.14:
	add	x0, x19, #48
	mov	w2, #16
	bl	_nla_memcpy
LBB0_15:
Lloh42:
	adrp	x8, _RTA_OIF@GOTPAGE
Lloh43:
	ldr	x8, [x8, _RTA_OIF@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_17
; %bb.16:
	bl	_nla_get_u32
	str	x0, [x19, #40]
LBB0_17:
Lloh45:
	adrp	x8, _RTA_PRIORITY@GOTPAGE
Lloh46:
	ldr	x8, [x8, _RTA_PRIORITY@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_19
; %bb.18:
	bl	_nla_get_u32
	str	x0, [x19, #32]
LBB0_19:
Lloh48:
	adrp	x21, _RTA_METRICS@GOTPAGE
Lloh49:
	ldr	x21, [x21, _RTA_METRICS@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_21
; %bb.20:
	bl	_nla_data
	str	w0, [x19, #24]
	ldr	x8, [x21]
	ldr	x0, [x20, x8, lsl #3]
	bl	_nla_len
	str	w0, [x19, #8]
LBB0_21:
Lloh50:
	adrp	x8, _RTA_TABLE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _RTA_TABLE@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_24
; %bb.22:
	bl	_nla_get_u32
	mov	w22, #0
	str	x0, [x19, #16]
	b	LBB0_25
LBB0_23:
	mov	x22, x0
	b	LBB0_25
LBB0_24:
	mov	w22, #0
LBB0_25:
	ldur	x8, [x29, #-56]
Lloh53:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh54:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.26:
	mov	x0, x22
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_RTA_MAX,4,2                    ; @RTA_MAX
	.comm	_rtm_ipv6_policy,4,2            ; @rtm_ipv6_policy
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RTF_UP,4,2                     ; @RTF_UP
	.comm	_RTN_UNREACHABLE,8,3            ; @RTN_UNREACHABLE
	.comm	_RTF_REJECT,4,2                 ; @RTF_REJECT
	.comm	_RTN_LOCAL,8,3                  ; @RTN_LOCAL
	.comm	_RTF_LOCAL,4,2                  ; @RTF_LOCAL
	.comm	_RTA_GATEWAY,8,3                ; @RTA_GATEWAY
	.comm	_RTF_GATEWAY,4,2                ; @RTF_GATEWAY
	.comm	_RTA_DST,8,3                    ; @RTA_DST
	.comm	_RTA_SRC,8,3                    ; @RTA_SRC
	.comm	_RTA_PREFSRC,8,3                ; @RTA_PREFSRC
	.comm	_RTA_OIF,8,3                    ; @RTA_OIF
	.comm	_RTA_PRIORITY,8,3               ; @RTA_PRIORITY
	.comm	_RTA_METRICS,8,3                ; @RTA_METRICS
	.comm	_RTA_TABLE,8,3                  ; @RTA_TABLE
	.no_dead_strip	_rtm_to_fib6_config
.subsections_via_symbols
