	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inet6_rtm_getroute
_inet6_rtm_getroute:                    ## @inet6_rtm_getroute
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %edi
	callq	_sock_net
	movq	%rax, %r14
	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, %r13
	movq	_rtm_ipv6_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rdi
	movl	$4, %esi
	movq	%r13, %rdx
	movl	%ebx, %ecx
	callq	_nlmsg_parse
	testl	%eax, %eax
	js	LBB0_21
## %bb.1:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_RTA_SRC@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%r13,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.2:
	callq	_nla_len
	cmpl	$4, %eax
	jb	LBB0_22
## %bb.3:
	movq	(%r14), %rax
	movq	(%r13,%rax,8), %rdi
	callq	_nla_data
	leaq	-72(%rbp), %rdi
	movl	%eax, %esi
	callq	_ipv6_addr_copy
LBB0_4:
	movq	_RTA_DST@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%r13,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:
	callq	_nla_len
	cmpl	$4, %eax
	jb	LBB0_22
## %bb.6:
	leaq	-68(%rbp), %rbx
	movq	(%r14), %rax
	movq	(%r13,%rax,8), %rdi
	callq	_nla_data
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ipv6_addr_copy
LBB0_7:
	movq	_RTA_IIF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.9:
	callq	_nla_get_u32
	movq	%rax, %rbx
	jmp	LBB0_10
LBB0_8:
	xorl	%ebx, %ebx
LBB0_10:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	_RTA_OIF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	callq	_nla_get_u32
	movq	%rax, -64(%rbp)
LBB0_12:
	testl	%ebx, %ebx
	je	LBB0_16
## %bb.13:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	___dev_get_by_index
	testq	%rax, %rax
	je	LBB0_14
LBB0_16:
	movq	_NLMSG_GOODSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_skb_reset_mac_header
	movq	_MAX_HEADER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$4, %rsi
	movq	%r13, %rdi
	callq	_skb_reserve
	leaq	-72(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_ip6_route_output
	movq	%rax, %r14
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_skb_dst_set
	movq	_RTM_NEWROUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_NETLINK_CB
                                        ## kill: def $eax killed $eax def $rax
	movl	(%r12), %r10d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	leaq	-68(%rbp), %rcx
	leaq	-72(%rbp), %r8
	movl	%ebx, %r9d
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	%r10
	pushq	%rax
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_rt6_fill_node
	addq	$48, %rsp
	testl	%eax, %eax
	js	LBB0_19
## %bb.20:
	movq	%r15, %rdi
	callq	_NETLINK_CB
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_rtnl_unicast
LBB0_21:
	movl	%eax, %ebx
	jmp	LBB0_22
LBB0_17:
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_14:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_15:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_22
LBB0_19:
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_kfree_skb
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	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	_RTA_SRC,8,3                    ## @RTA_SRC
	.comm	_RTA_DST,8,3                    ## @RTA_DST
	.comm	_RTA_IIF,8,3                    ## @RTA_IIF
	.comm	_RTA_OIF,8,3                    ## @RTA_OIF
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_NLMSG_GOODSIZE,4,2             ## @NLMSG_GOODSIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_MAX_HEADER,8,3                 ## @MAX_HEADER
	.comm	_RTM_NEWROUTE,4,2               ## @RTM_NEWROUTE
	.no_dead_strip	_inet6_rtm_getroute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inet6_rtm_getroute
_inet6_rtm_getroute:                    ; @inet6_rtm_getroute
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #32
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	w0, [x0]
	bl	_sock_net
	mov	x20, x0
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	x22, x9, x8
	mov	sp, x22
Lloh8:
	adrp	x8, _rtm_ipv6_policy@GOTPAGE
Lloh9:
	ldr	x8, [x8, _rtm_ipv6_policy@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
	mov	x0, x21
	mov	w1, #4
	mov	x2, x22
	bl	_nlmsg_parse
	tbnz	w0, #31, LBB0_17
; %bb.1:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w23, w8
	sub	x0, x29, #88
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh14:
	adrp	x24, _RTA_SRC@GOTPAGE
Lloh15:
	ldr	x24, [x24, _RTA_SRC@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x0, [x22, x8, lsl #3]
	cbz	x0, LBB0_4
; %bb.2:
	bl	_nla_len
	cmp	w0, #4
	b.lo	LBB0_22
; %bb.3:
	ldr	x8, [x24]
	ldr	x0, [x22, x8, lsl #3]
	bl	_nla_data
	mov	x1, x0
	sub	x0, x29, #88
	bl	_ipv6_addr_copy
LBB0_4:
Lloh16:
	adrp	x24, _RTA_DST@GOTPAGE
Lloh17:
	ldr	x24, [x24, _RTA_DST@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x0, [x22, x8, lsl #3]
	cbz	x0, LBB0_7
; %bb.5:
	bl	_nla_len
	cmp	w0, #4
	b.lo	LBB0_22
; %bb.6:
	sub	x8, x29, #88
	orr	x23, x8, #0x4
	ldr	x8, [x24]
	ldr	x0, [x22, x8, lsl #3]
	bl	_nla_data
	mov	x1, x0
	mov	x0, x23
	bl	_ipv6_addr_copy
LBB0_7:
Lloh18:
	adrp	x8, _RTA_IIF@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RTA_IIF@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	x0, [x22, x8, lsl #3]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_nla_get_u32
	mov	x23, x0
	b	LBB0_10
LBB0_9:
	mov	w23, #0
LBB0_10:
Lloh21:
	adrp	x8, _RTA_OIF@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RTA_OIF@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	x0, [x22, x8, lsl #3]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_nla_get_u32
	stur	x0, [x29, #-80]
LBB0_12:
	cbz	w23, LBB0_14
; %bb.13:
	mov	x0, x20
	mov	x1, x23
	bl	___dev_get_by_index
	cbz	x0, LBB0_19
LBB0_14:
Lloh24:
	adrp	x8, _NLMSG_GOODSIZE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NLMSG_GOODSIZE@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_alloc_skb
	cbz	x0, LBB0_18
; %bb.15:
	mov	x22, x0
	bl	_skb_reset_mac_header
Lloh30:
	adrp	x8, _MAX_HEADER@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MAX_HEADER@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	add	x1, x8, #4
	mov	x0, x22
	bl	_skb_reserve
	sub	x25, x29, #88
	sub	x2, x29, #88
	mov	x0, x20
	mov	x1, #0
	bl	_ip6_route_output
	mov	x24, x0
	mov	x0, x22
	mov	x1, x24
	bl	_skb_dst_set
	orr	x25, x25, #0x4
Lloh33:
	adrp	x8, _RTM_NEWROUTE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _RTM_NEWROUTE@GOTPAGEOFF]
Lloh35:
	ldr	w26, [x8]
	mov	x0, x19
	bl	_NETLINK_CB
	mov	x7, x0
	ldr	w8, [x21]
	sub	sp, sp, #16
	str	wzr, [sp, #12]
	stur	xzr, [sp, #4]
	sub	x4, x29, #88
	str	w8, [sp]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	mov	x3, x25
	mov	x5, x23
	mov	x6, x26
	bl	_rt6_fill_node
	add	sp, sp, #16
	tbnz	w0, #31, LBB0_21
; %bb.16:
	mov	x0, x19
	bl	_NETLINK_CB
	mov	x2, x0
	mov	x0, x22
	mov	x1, x20
	bl	_rtnl_unicast
LBB0_17:
	mov	x23, x0
	b	LBB0_22
LBB0_18:
Lloh36:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:
Lloh38:
	adrp	x8, _ENODEV@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_20:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_22
LBB0_21:
	mov	x23, x0
	mov	x0, x22
	bl	_kfree_skb
LBB0_22:
	ldur	x8, [x29, #-72]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	mov	x0, x23
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.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	_RTA_SRC,8,3                    ; @RTA_SRC
	.comm	_RTA_DST,8,3                    ; @RTA_DST
	.comm	_RTA_IIF,8,3                    ; @RTA_IIF
	.comm	_RTA_OIF,8,3                    ; @RTA_OIF
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_NLMSG_GOODSIZE,4,2             ; @NLMSG_GOODSIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_MAX_HEADER,8,3                 ; @MAX_HEADER
	.comm	_RTM_NEWROUTE,4,2               ; @RTM_NEWROUTE
	.no_dead_strip	_inet6_rtm_getroute
.subsections_via_symbols
