	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfrm_dst_lookup
_xfrm_dst_lookup:                       ## @xfrm_dst_lookup
	.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
	movl	%r8d, %r13d
	movq	%rcx, %r12
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_xs_net
	movq	8(%rbx), %rcx
	movl	(%rcx), %ecx
	movq	_XFRM_TYPE_LOCAL_COADDR@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %r15
	jmp	LBB0_3
LBB0_1:
	leaq	20(%rbx), %r15
	leaq	16(%rbx), %r12
LBB0_3:
	movq	_XFRM_TYPE_REMOTE_COADDR@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_5
## %bb.4:
	movq	(%rbx), %r12
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_5:
	movq	%rax, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	movq	%r12, %rcx
	movl	%r13d, %r8d
	callq	___xfrm_dst_lookup
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_10
## %bb.6:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	cmpq	%rdi, %r15
	je	LBB0_8
## %bb.7:
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
LBB0_8:
	cmpq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	je	LBB0_10
## %bb.9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_memcpy
LBB0_10:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XFRM_TYPE_LOCAL_COADDR,4,2     ## @XFRM_TYPE_LOCAL_COADDR
	.comm	_XFRM_TYPE_REMOTE_COADDR,4,2    ## @XFRM_TYPE_REMOTE_COADDR
	.no_dead_strip	_xfrm_dst_lookup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xfrm_dst_lookup
_xfrm_dst_lookup:                       ; @xfrm_dst_lookup
	.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
	mov	x22, x4
	mov	x19, x3
	mov	x20, x2
	mov	x24, x1
	mov	x25, x0
	bl	_xs_net
	ldr	x8, [x25, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _XFRM_TYPE_LOCAL_COADDR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XFRM_TYPE_LOCAL_COADDR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x23, [x25]
	mov	x21, x19
	b	LBB0_3
LBB0_2:
	add	x23, x25, #20
	add	x21, x25, #16
LBB0_3:
Lloh3:
	adrp	x9, _XFRM_TYPE_REMOTE_COADDR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XFRM_TYPE_REMOTE_COADDR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	x21, [x25]
	mov	x23, x20
LBB0_5:
	mov	x1, x24
	mov	x2, x23
	mov	x3, x21
	mov	x4, x22
	bl	___xfrm_dst_lookup
	mov	x22, x0
	bl	_IS_ERR
	cbnz	w0, LBB0_10
; %bb.6:
	cmp	x23, x20
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x20
	mov	x1, x23
	mov	w2, #4
	bl	_memcpy
LBB0_8:
	cmp	x21, x19
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x19
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
LBB0_10:
	mov	x0, x22
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_XFRM_TYPE_LOCAL_COADDR,4,2     ; @XFRM_TYPE_LOCAL_COADDR
	.comm	_XFRM_TYPE_REMOTE_COADDR,4,2    ; @XFRM_TYPE_REMOTE_COADDR
	.no_dead_strip	_xfrm_dst_lookup
.subsections_via_symbols
