	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfrm_state_look_at
_xfrm_state_look_at:                    ## @xfrm_state_look_at
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	8(%rsi), %rax
	movq	_XFRM_STATE_VALID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.1:
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_xfrm_selector_match
	testq	%rax, %rax
	je	LBB0_16
LBB0_3:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_security_xfrm_state_pol_flow_match
	testq	%rax, %rax
	je	LBB0_16
## %bb.4:
	movq	16(%rbp), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.5:
	movq	16(%rbx), %rdx
	cmpq	%rdx, 16(%rcx)
	jg	LBB0_8
## %bb.6:
	jne	LBB0_16
## %bb.7:
	movq	24(%rcx), %rcx
	cmpq	24(%rbx), %rcx
	jge	LBB0_16
LBB0_8:
	movq	%rbx, (%rax)
	jmp	LBB0_16
LBB0_9:
	movq	_XFRM_STATE_ACQ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	24(%rbp), %rax
	movl	$1, (%rax)
	jmp	LBB0_16
LBB0_11:
	movq	_XFRM_STATE_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.12:
	movq	_XFRM_STATE_EXPIRED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
LBB0_13:
	movq	(%rbx), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_xfrm_selector_match
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_security_xfrm_state_pol_flow_match
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	32(%rbp), %rax
	movq	_ESRCH@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	subl	(%rcx), %edx
	movl	%edx, (%rax)
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XFRM_STATE_VALID,8,3           ## @XFRM_STATE_VALID
	.comm	_XFRM_STATE_ACQ,8,3             ## @XFRM_STATE_ACQ
	.comm	_XFRM_STATE_ERROR,8,3           ## @XFRM_STATE_ERROR
	.comm	_XFRM_STATE_EXPIRED,8,3         ## @XFRM_STATE_EXPIRED
	.comm	_ESRCH,4,2                      ## @ESRCH
	.no_dead_strip	_xfrm_state_look_at
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xfrm_state_look_at
_xfrm_state_look_at:                    ; @xfrm_state_look_at
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	ldr	x8, [x1, #8]
Lloh0:
	adrp	x9, _XFRM_STATE_VALID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XFRM_STATE_VALID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.1:
	mov	x21, x6
	ldr	x2, [x19]
	cbz	x2, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_xfrm_selector_match
	cbz	x0, LBB0_15
LBB0_3:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_security_xfrm_state_pol_flow_match
	cbz	x0, LBB0_15
; %bb.4:
	ldr	x8, [x21]
	cbz	x8, LBB0_8
; %bb.5:
	ldr	x9, [x8, #16]
	ldr	x10, [x19, #16]
	cmp	x9, x10
	b.gt	LBB0_8
; %bb.6:
	b.ne	LBB0_15
; %bb.7:
	ldr	x8, [x8, #24]
	ldr	x9, [x19, #24]
	cmp	x8, x9
	b.ge	LBB0_15
LBB0_8:
	str	x19, [x21]
	b	LBB0_15
LBB0_9:
Lloh3:
	adrp	x9, _XFRM_STATE_ACQ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XFRM_STATE_ACQ@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
	mov	w8, #1
	str	w8, [x7]
	b	LBB0_15
LBB0_11:
Lloh6:
	adrp	x9, _XFRM_STATE_ERROR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _XFRM_STATE_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _XFRM_STATE_EXPIRED@GOTPAGE
Lloh10:
	ldr	x10, [x10, _XFRM_STATE_EXPIRED@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_15
; %bb.12:
	ldr	x2, [x19]
	mov	x0, x19
	mov	x1, x20
	bl	_xfrm_selector_match
	cbz	x0, LBB0_15
; %bb.13:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_security_xfrm_state_pol_flow_match
	cbz	x0, LBB0_15
; %bb.14:
	ldr	x8, [x29, #16]
Lloh12:
	adrp	x9, _ESRCH@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ESRCH@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	neg	w9, w9
	str	w9, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_XFRM_STATE_VALID,8,3           ; @XFRM_STATE_VALID
	.comm	_XFRM_STATE_ACQ,8,3             ; @XFRM_STATE_ACQ
	.comm	_XFRM_STATE_ERROR,8,3           ; @XFRM_STATE_ERROR
	.comm	_XFRM_STATE_EXPIRED,8,3         ; @XFRM_STATE_EXPIRED
	.comm	_ESRCH,4,2                      ; @ESRCH
	.no_dead_strip	_xfrm_state_look_at
.subsections_via_symbols
