	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxgb_find_route6               ## -- Begin function cxgb_find_route6
	.p2align	4, 0x90
_cxgb_find_route6:                      ## @cxgb_find_route6
	.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	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_CONFIG_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	leaq	-52(%rbp), %r13
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_memcpy
	leaq	-48(%rbp), %rdi
	movq	%r12, %rsi
	movl	$16, %edx
	callq	_memcpy
	movq	%r13, %rdi
	callq	_ipv6_addr_type
	movq	_IPV6_ADDR_LINKLOCAL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movl	24(%rbp), %eax
	movl	%eax, -56(%rbp)
LBB0_3:
	movq	_init_net@GOTPCREL(%rip), %rdi
	leaq	-56(%rbp), %rdx
	xorl	%esi, %esi
	callq	_ip6_route_output
	movq	%rax, %rbx
	cmpq	$0, (%rax)
	je	LBB0_4
LBB0_6:
	movq	%rbx, %rdi
	callq	_dst_release
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	callq	_ip6_dst_idev
	movq	(%rax), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cxgb_our_interface
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	callq	_ip6_dst_idev
	movq	(%rax), %rax
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_8
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG_IPV6,4,2                ## @CONFIG_IPV6
	.comm	_IPV6_ADDR_LINKLOCAL,4,2        ## @IPV6_ADDR_LINKLOCAL
	.comm	_init_net,4,2                   ## @init_net
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cxgb_find_route6               ; -- Begin function cxgb_find_route6
	.p2align	2
_cxgb_find_route6:                      ; @cxgb_find_route6
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x7
	mov	x23, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CONFIG_IPV6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONFIG_IPV6@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	x0, LBB0_5
; %bb.1:
	mov	x25, sp
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	orr	x24, x25, #0x4
	mov	x0, x24
	mov	x1, x23
	mov	w2, #16
	bl	_memcpy
	add	x0, x25, #8
	mov	x1, x22
	mov	w2, #16
	bl	_memcpy
	mov	x0, x24
	bl	_ipv6_addr_type
Lloh3:
	adrp	x8, _IPV6_ADDR_LINKLOCAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPV6_ADDR_LINKLOCAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	str	w21, [sp]
LBB0_3:
Lloh6:
	adrp	x0, _init_net@GOTPAGE
Lloh7:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	mov	x2, sp
	mov	x1, #0
	bl	_ip6_route_output
	mov	x21, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_7
LBB0_4:
	mov	x0, x21
	bl	_dst_release
LBB0_5:
	mov	x21, #0
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_7:
	mov	x0, x21
	bl	_ip6_dst_idev
	ldr	x2, [x0]
	mov	x0, x20
	mov	x1, x19
	bl	_cxgb_our_interface
	cbnz	w0, LBB0_6
; %bb.8:
	mov	x0, x21
	bl	_ip6_dst_idev
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _IFF_LOOPBACK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IFF_LOOPBACK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_6
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG_IPV6,4,2                ; @CONFIG_IPV6
	.comm	_IPV6_ADDR_LINKLOCAL,4,2        ; @IPV6_ADDR_LINKLOCAL
	.comm	_init_net,4,2                   ; @init_net
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
.subsections_via_symbols
