	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dn_cache_getroute
_dn_cache_getroute:                     ## @dn_cache_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	$72, %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, %r15
	movl	12(%rdi), %edi
	callq	_sock_net
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_NLMSG_DATA
	movq	$0, -56(%rbp)
	cmpq	_init_net@GOTPCREL(%rip), %rbx
	je	LBB0_5
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r12d, %r12d
LBB0_3:
	subl	(%rax), %r12d
LBB0_4:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	-96(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	$28, %edx
	callq	_memset
	movq	_DNPROTO_NSP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	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.6:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_skb_reset_mac_header
	movq	%r15, %rdi
	callq	_DN_SKB_CB
	movq	%rax, %r12
	movq	_RTA_SRC@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	-8(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_RTA_DATA
	leaq	-96(%rbp), %rdi
	movl	%eax, %esi
	movl	$2, %edx
	callq	_memcpy
LBB0_8:
	movq	_RTA_DST@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	-8(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	leaq	-92(%rbp), %rbx
	callq	_RTA_DATA
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$2, %edx
	callq	_memcpy
LBB0_10:
	movq	_RTA_IIF@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	-8(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	leaq	-88(%rbp), %rbx
	callq	_RTA_DATA
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_memcpy
LBB0_12:
	movl	-88(%rbp), %esi
	testl	%esi, %esi
	je	LBB0_18
## %bb.13:
	movq	_init_net@GOTPCREL(%rip), %rdi
	callq	_dev_get_by_index
	testq	%rax, %rax
	je	LBB0_21
## %bb.14:
	movq	%rax, %rbx
	cmpl	$0, (%rax)
	je	LBB0_20
## %bb.15:
	movq	_ETH_P_DNA_RT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, 8(%r15)
	movq	%rbx, (%r15)
	movl	-96(%rbp), %eax
	movl	%eax, 12(%r12)
	movl	-92(%rbp), %eax
	movl	%eax, 16(%r12)
	xorl	%eax, %eax
	callq	_local_bh_disable
	movq	%r15, %rdi
	callq	_dn_route_input
	movq	%r12, %rbx
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_local_bh_enable
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$28, %edx
	callq	_memset
	movq	%r15, %rdi
	callq	_skb_dst
	movq	%rax, -56(%rbp)
	testl	%r12d, %r12d
	jne	LBB0_24
## %bb.16:
	movl	4(%rax), %r12d
	jmp	LBB0_24
LBB0_17:
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_18:
	movl	$0, -44(%rbp)
	movq	_RTA_OIF@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	-8(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.19:
	callq	_RTA_DATA
	leaq	-44(%rbp), %rdi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_memcpy
	movl	-44(%rbp), %eax
	jmp	LBB0_23
LBB0_20:
	movq	%rbx, %rdi
	callq	_dev_put
LBB0_21:
	movq	%r15, %rdi
	callq	_kfree_skb
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_22:
	xorl	%eax, %eax
LBB0_23:
	movl	%eax, -76(%rbp)
	leaq	-56(%rbp), %rdi
	leaq	-96(%rbp), %rsi
	xorl	%edx, %edx
	callq	_dn_route_output_key
	movl	%eax, %r12d
LBB0_24:
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.25:
	callq	_dev_put
LBB0_26:
	movq	$0, (%r15)
	testl	%r12d, %r12d
	je	LBB0_28
LBB0_27:
	movq	%r15, %rdi
	callq	_kfree_skb
	jmp	LBB0_4
LBB0_28:
	movq	-56(%rbp), %rsi
	addq	$4, %rsi
	movq	%r15, %rdi
	callq	_skb_dst_set
	movq	_RTM_F_NOTIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_30
## %bb.29:
	movq	_RTCF_NOTIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx
	orl	%eax, (%rcx)
LBB0_30:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_NETLINK_CB
	movl	(%r13), %edx
	movq	_RTM_NEWROUTE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_dn_rt_fill_info
	testl	%eax, %eax
	je	LBB0_27
## %bb.31:
	js	LBB0_33
## %bb.32:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_NETLINK_CB
	movq	_init_net@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_rtnl_unicast
	movl	%eax, %r12d
	jmp	LBB0_4
LBB0_33:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_init_net,4,2                   ## @init_net
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DNPROTO_NSP,4,2                ## @DNPROTO_NSP
	.comm	_NLMSG_GOODSIZE,4,2             ## @NLMSG_GOODSIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_RTA_SRC,4,2                    ## @RTA_SRC
	.comm	_RTA_DST,4,2                    ## @RTA_DST
	.comm	_RTA_IIF,4,2                    ## @RTA_IIF
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ETH_P_DNA_RT,4,2               ## @ETH_P_DNA_RT
	.comm	_RTA_OIF,4,2                    ## @RTA_OIF
	.comm	_RTM_F_NOTIFY,4,2               ## @RTM_F_NOTIFY
	.comm	_RTCF_NOTIFY,4,2                ## @RTCF_NOTIFY
	.comm	_RTM_NEWROUTE,4,2               ## @RTM_NEWROUTE
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	_dn_cache_getroute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dn_cache_getroute
_dn_cache_getroute:                     ; @dn_cache_getroute
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x23, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #12]
	bl	_sock_net
	mov	x20, x0
	mov	x0, x21
	bl	_NLMSG_DATA
	str	xzr, [sp, #40]
Lloh0:
	adrp	x8, _init_net@GOTPAGE
Lloh1:
	ldr	x8, [x8, _init_net@GOTPAGEOFF]
	cmp	x20, x8
	b.eq	LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_3:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	mov	x22, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #28
	bl	_memset
Lloh4:
	adrp	x8, _DNPROTO_NSP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DNPROTO_NSP@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [sp, #32]
Lloh7:
	adrp	x8, _NLMSG_GOODSIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NLMSG_GOODSIZE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_alloc_skb
	cbz	x0, LBB0_16
; %bb.5:
	mov	x20, x0
	bl	_skb_reset_mac_header
	mov	x0, x20
	bl	_DN_SKB_CB
	mov	x24, x0
Lloh13:
	adrp	x8, _RTA_SRC@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RTA_SRC@GOTPAGEOFF]
Lloh15:
	ldrsw	x8, [x8]
	add	x8, x23, x8, lsl #3
	ldur	x0, [x8, #-8]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_RTA_DATA
	mov	x1, x0
	add	x0, sp, #8
	mov	w2, #2
	bl	_memcpy
LBB0_7:
Lloh16:
	adrp	x8, _RTA_DST@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RTA_DST@GOTPAGEOFF]
Lloh18:
	ldrsw	x8, [x8]
	add	x8, x23, x8, lsl #3
	ldur	x0, [x8, #-8]
	cbz	x0, LBB0_9
; %bb.8:
	add	x8, sp, #8
	orr	x25, x8, #0x4
	bl	_RTA_DATA
	mov	x1, x0
	mov	x0, x25
	mov	w2, #2
	bl	_memcpy
LBB0_9:
Lloh19:
	adrp	x8, _RTA_IIF@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RTA_IIF@GOTPAGEOFF]
Lloh21:
	ldrsw	x8, [x8]
	add	x8, x23, x8, lsl #3
	ldur	x0, [x8, #-8]
	cbz	x0, LBB0_11
; %bb.10:
	add	x8, sp, #8
	add	x25, x8, #8
	bl	_RTA_DATA
	mov	x1, x0
	mov	x0, x25
	mov	w2, #4
	bl	_memcpy
LBB0_11:
	ldr	w1, [sp, #16]
	cbz	w1, LBB0_17
; %bb.12:
Lloh22:
	adrp	x0, _init_net@GOTPAGE
Lloh23:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	bl	_dev_get_by_index
	cbz	x0, LBB0_20
; %bb.13:
	mov	x23, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_19
; %bb.14:
Lloh24:
	adrp	x8, _ETH_P_DNA_RT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ETH_P_DNA_RT@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_htons
	str	w0, [x20, #8]
	str	x23, [x20]
	ldr	d0, [sp, #8]
	stur	d0, [x24, #12]
	bl	_local_bh_disable
	mov	x0, x20
	bl	_dn_route_input
	mov	x23, x0
	bl	_local_bh_enable
	mov	x0, x24
	mov	w1, #0
	mov	w2, #28
	bl	_memset
	mov	x0, x20
	bl	_skb_dst
	str	x0, [sp, #40]
	cbnz	w23, LBB0_23
; %bb.15:
	ldr	w23, [x0, #4]
	b	LBB0_23
LBB0_16:
Lloh27:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_2
LBB0_17:
	str	wzr, [sp, #4]
Lloh29:
	adrp	x8, _RTA_OIF@GOTPAGE
Lloh30:
	ldr	x8, [x8, _RTA_OIF@GOTPAGEOFF]
Lloh31:
	ldrsw	x8, [x8]
	add	x8, x23, x8, lsl #3
	ldur	x0, [x8, #-8]
	cbz	x0, LBB0_21
; %bb.18:
	bl	_RTA_DATA
	mov	x1, x0
	add	x0, sp, #4
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [sp, #4]
	b	LBB0_22
LBB0_19:
	mov	x0, x23
	bl	_dev_put
LBB0_20:
	mov	x0, x20
	bl	_kfree_skb
Lloh32:
	adrp	x8, _ENODEV@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_2
LBB0_21:
	mov	w8, #0
LBB0_22:
	str	w8, [sp, #28]
	add	x0, sp, #40
	add	x1, sp, #8
	mov	w2, #0
	bl	_dn_route_output_key
	mov	x23, x0
LBB0_23:
	ldr	x0, [x20]
	cbz	x0, LBB0_25
; %bb.24:
	bl	_dev_put
LBB0_25:
	str	xzr, [x20]
	cbz	w23, LBB0_27
LBB0_26:
	mov	x0, x20
	bl	_kfree_skb
	b	LBB0_3
LBB0_27:
	ldr	x8, [sp, #40]
	add	x1, x8, #4
	mov	x0, x20
	bl	_skb_dst_set
	ldr	w8, [x22]
Lloh34:
	adrp	x9, _RTM_F_NOTIFY@GOTPAGE
Lloh35:
	ldr	x9, [x9, _RTM_F_NOTIFY@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.28:
Lloh37:
	adrp	x8, _RTCF_NOTIFY@GOTPAGE
Lloh38:
	ldr	x8, [x8, _RTCF_NOTIFY@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	ldr	x9, [sp, #40]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
LBB0_29:
	mov	x0, x19
	bl	_NETLINK_CB
	mov	x1, x0
	ldr	w2, [x21]
Lloh40:
	adrp	x8, _RTM_NEWROUTE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _RTM_NEWROUTE@GOTPAGEOFF]
Lloh42:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w4, #0
	mov	w5, #0
	bl	_dn_rt_fill_info
	cbz	w0, LBB0_32
; %bb.30:
	tbnz	w0, #31, LBB0_33
; %bb.31:
	mov	x0, x19
	bl	_NETLINK_CB
	mov	x2, x0
Lloh43:
	adrp	x1, _init_net@GOTPAGE
Lloh44:
	ldr	x1, [x1, _init_net@GOTPAGEOFF]
	mov	x0, x20
	bl	_rtnl_unicast
	mov	x23, x0
	b	LBB0_3
LBB0_32:
	mov	w23, #0
	b	LBB0_26
LBB0_33:
Lloh45:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_26
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_init_net,4,2                   ; @init_net
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DNPROTO_NSP,4,2                ; @DNPROTO_NSP
	.comm	_NLMSG_GOODSIZE,4,2             ; @NLMSG_GOODSIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_RTA_SRC,4,2                    ; @RTA_SRC
	.comm	_RTA_DST,4,2                    ; @RTA_DST
	.comm	_RTA_IIF,4,2                    ; @RTA_IIF
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ETH_P_DNA_RT,4,2               ; @ETH_P_DNA_RT
	.comm	_RTA_OIF,4,2                    ; @RTA_OIF
	.comm	_RTM_F_NOTIFY,4,2               ; @RTM_F_NOTIFY
	.comm	_RTCF_NOTIFY,4,2                ; @RTCF_NOTIFY
	.comm	_RTM_NEWROUTE,4,2               ; @RTM_NEWROUTE
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	_dn_cache_getroute
.subsections_via_symbols
