	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xfrm6_input_addr               ## -- Begin function xfrm6_input_addr
	.p2align	4, 0x90
_xfrm6_input_addr:                      ## @xfrm6_input_addr
	.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	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	20(%rdi), %edi
	callq	_dev_net
	movq	%rax, %r14
	movq	8(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	addq	$16, %rdi
	callq	_atomic_read
	movq	8(%r13), %r15
	cmpl	$1, %eax
	jne	LBB0_3
	jmp	LBB0_7
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	movq	%r15, %rdi
	callq	_secpath_dup
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movq	%rax, %r15
	movq	8(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_secpath_put
LBB0_6:
	movq	%r15, 8(%r13)
LBB0_7:
	movq	(%r15), %rax
	incq	%rax
	movq	_XFRM_MAX_DEPTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.14:
	movq	_LINUX_MIB_XFRMINBUFFERERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_8:
	xorl	%r12d, %r12d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	callq	_spin_unlock
LBB0_24:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	callq	_xfrm_state_put
LBB0_25:                                ##   in Loop: Header=BB0_9 Depth=1
	incl	%r12d
	cmpl	$3, %r12d
	je	LBB0_26
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testl	%r12d, %r12d
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$1, %r12d
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdx
	movq	_in6addr_any@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_in6addr_any@GOTPCREL(%rip), %rcx
	movq	%rcx, %rdx
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	16(%r13), %esi
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, %rdi
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_xfrm_state_lookup_byaddr
	testq	%rax, %rax
	je	LBB0_25
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_spin_lock
	testl	%r12d, %r12d
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_XFRM_STATE_WILDRECV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 32(%r15)
	je	LBB0_23
LBB0_19:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	24(%r15), %rax
	xorl	%edi, %edi
	movq	_XFRM_STATE_VALID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	callq	_xfrm_state_check_expire
	testl	%eax, %eax
	jne	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	16(%r15), %rax
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	*(%rax)
	testq	%rax, %rax
	jle	LBB0_24
## %bb.22:
	movq	8(%r13), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rdx
	leaq	1(%rcx), %rsi
	movq	%rsi, (%rax)
	movq	%r15, (%rdx,%rcx,8)
	movq	%r15, %rdi
	callq	_spin_lock
	movl	(%r13), %eax
	addl	%eax, 8(%r15)
	incl	4(%r15)
	movq	%r15, %rdi
	callq	_spin_unlock
	movl	$1, %eax
	jmp	LBB0_28
LBB0_26:
	movq	_LINUX_MIB_XFRMINNOSTATES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_XFRM_INC_STATS
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_xfrm_audit_state_notfound_simple
	jmp	LBB0_27
LBB0_12:
	movq	_LINUX_MIB_XFRMINERROR@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_XFRM_INC_STATS
LBB0_27:
	movl	$-1, %eax
LBB0_28:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LINUX_MIB_XFRMINERROR,4,2      ## @LINUX_MIB_XFRMINERROR
	.comm	_XFRM_MAX_DEPTH,8,3             ## @XFRM_MAX_DEPTH
	.comm	_LINUX_MIB_XFRMINBUFFERERROR,4,2 ## @LINUX_MIB_XFRMINBUFFERERROR
	.comm	_in6addr_any,4,2                ## @in6addr_any
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_XFRM_STATE_WILDRECV,4,2        ## @XFRM_STATE_WILDRECV
	.comm	_XFRM_STATE_VALID,8,3           ## @XFRM_STATE_VALID
	.comm	_LINUX_MIB_XFRMINNOSTATES,4,2   ## @LINUX_MIB_XFRMINNOSTATES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xfrm6_input_addr               ; -- Begin function xfrm6_input_addr
	.p2align	2
_xfrm6_input_addr:                      ; @xfrm6_input_addr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	ldr	w0, [x0, #20]
	bl	_dev_net
	mov	x20, x0
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	add	x0, x8, #16
	bl	_atomic_read
	ldr	x24, [x19, #8]
	cmp	w0, #1
	b.ne	LBB0_3
	b	LBB0_7
LBB0_2:
	mov	x24, #0
LBB0_3:
	mov	x0, x24
	bl	_secpath_dup
	cbz	x0, LBB0_21
; %bb.4:
	mov	x24, x0
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_secpath_put
LBB0_6:
	str	x24, [x19, #8]
LBB0_7:
	ldr	x8, [x24]
	add	x8, x8, #1
Lloh0:
	adrp	x9, _XFRM_MAX_DEPTH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XFRM_MAX_DEPTH@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
Lloh3:
	adrp	x8, _LINUX_MIB_XFRMINBUFFERERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LINUX_MIB_XFRMINBUFFERERROR@GOTPAGEOFF]
	b	LBB0_22
LBB0_9:
	mov	w26, #0
Lloh5:
	adrp	x27, _in6addr_any@GOTPAGE
Lloh6:
	ldr	x27, [x27, _in6addr_any@GOTPAGEOFF]
Lloh7:
	adrp	x25, _AF_INET6@GOTPAGE
Lloh8:
	ldr	x25, [x25, _AF_INET6@GOTPAGEOFF]
Lloh9:
	adrp	x28, _XFRM_STATE_VALID@GOTPAGE
Lloh10:
	ldr	x28, [x28, _XFRM_STATE_VALID@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x24
	bl	_spin_unlock
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x24
	bl	_xfrm_state_put
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w26, w26, #1
	cmp	w26, #3
	b.eq	LBB0_20
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	cmp	w26, #1
	csel	x8, x27, x23, ne
	csel	x9, x27, x27, ne
	cmp	w26, #0
	csel	x2, x23, x8, eq
	csel	x3, x22, x9, eq
	ldr	w1, [x19, #16]
	ldr	w5, [x25]
	mov	x0, x20
	mov	x4, x21
	bl	_xfrm_state_lookup_byaddr
	cbz	x0, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x24, x0
	bl	_spin_lock
	cbz	w26, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x24, #32]
Lloh11:
	adrp	x9, _XFRM_STATE_WILDRECV@GOTPAGE
Lloh12:
	ldr	x9, [x9, _XFRM_STATE_WILDRECV@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x24, #24]
	ldr	x9, [x28]
	cmp	x8, x9
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_10
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x24
	bl	_xfrm_state_check_expire
	cbnz	w0, LBB0_10
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x24
	bl	_spin_unlock
	ldr	x8, [x24, #16]
	ldr	x8, [x8]
	mov	x0, x24
	mov	x1, x19
	blr	x8
	cmp	x0, #0
	b.le	LBB0_11
; %bb.19:
	ldr	x8, [x19, #8]
	ldp	x10, x9, [x8]
	add	x11, x10, #1
	str	x11, [x8]
	str	x24, [x9, x10, lsl #3]
	mov	x0, x24
	bl	_spin_lock
	ldr	w8, [x19]
	ldp	w10, w9, [x24, #4]
	add	w8, w9, w8
	add	w9, w10, #1
	stp	w9, w8, [x24, #4]
	mov	x0, x24
	bl	_spin_unlock
	mov	w0, #1
	b	LBB0_24
LBB0_20:
Lloh14:
	adrp	x8, _LINUX_MIB_XFRMINNOSTATES@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LINUX_MIB_XFRMINNOSTATES@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_XFRM_INC_STATS
	ldr	w1, [x25]
	mov	x0, x19
	bl	_xfrm_audit_state_notfound_simple
	b	LBB0_23
LBB0_21:
Lloh17:
	adrp	x8, _LINUX_MIB_XFRMINERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LINUX_MIB_XFRMINERROR@GOTPAGEOFF]
LBB0_22:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_XFRM_INC_STATS
LBB0_23:
	mov	w0, #-1
LBB0_24:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_LINUX_MIB_XFRMINERROR,4,2      ; @LINUX_MIB_XFRMINERROR
	.comm	_XFRM_MAX_DEPTH,8,3             ; @XFRM_MAX_DEPTH
	.comm	_LINUX_MIB_XFRMINBUFFERERROR,4,2 ; @LINUX_MIB_XFRMINBUFFERERROR
	.comm	_in6addr_any,4,2                ; @in6addr_any
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_XFRM_STATE_WILDRECV,4,2        ; @XFRM_STATE_WILDRECV
	.comm	_XFRM_STATE_VALID,8,3           ; @XFRM_STATE_VALID
	.comm	_LINUX_MIB_XFRMINNOSTATES,4,2   ; @LINUX_MIB_XFRMINNOSTATES
.subsections_via_symbols
