	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xfrm_bundle_ok                 ## -- Begin function xfrm_bundle_ok
	.p2align	4, 0x90
_xfrm_bundle_ok:                        ## @xfrm_bundle_ok
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%ecx, %r14d
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	80(%rsi), %rdi
	movl	168(%rsi), %esi
	callq	_dst_check
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_25
## %bb.1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	72(%rbx), %rdi
	testq	%rdi, %rdi
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_3
## %bb.2:
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_25
LBB0_3:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	40(%rax), %r13
	testq	%rbx, %rbx
	setne	%al
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	setne	%cl
	andb	%al, %cl
	movb	%cl, -41(%rbp)                  ## 1-byte Spill
	testl	%r15d, %r15d
	setne	%cl
	andb	%al, %cl
	movb	%cl, -42(%rbp)                  ## 1-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r13), %r13
	cmpq	$0, 16(%r13)
	je	LBB0_21
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r13), %rdi
	addq	$24, %rdi
	movq	%rbx, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_xfrm_selector_match
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_25
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r13), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_security_xfrm_state_pol_flow_match
	testl	%eax, %eax
	je	LBB0_25
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r13), %r14
	movq	16(%r14), %rax
	xorl	%r12d, %r12d
	movq	_XFRM_STATE_VALID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_25
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rax
	cmpq	(%r14), %rax
	jne	LBB0_25
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 8(%r13)
	jle	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	104(%r13), %rax
	movq	(%rax), %rdi
	callq	_atomic_read
	cmpq	%r14, %rax
	jne	LBB0_25
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$0, -42(%rbp)                   ## 1-byte Folded Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r13), %rdi
	movq	8(%rdi), %rax
	movq	_XFRM_MODE_FLAG_TUNNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_xfrm_state_addr_flow_check
	testl	%eax, %eax
	je	LBB0_25
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r13), %rdi
	callq	_dst_mtu
	cmpq	%rax, 24(%r13)
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, 24(%r13)
	movq	%r13, %r15
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	88(%r13), %rdi
	movl	96(%r13), %esi
	callq	_dst_check
	testl	%eax, %eax
	je	LBB0_25
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	88(%r13), %rdi
	callq	_dst_mtu
	cmpq	%rax, 32(%r13)
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, 32(%r13)
	movq	%r13, %r15
	jmp	LBB0_20
LBB0_21:
	xorl	%edi, %edi
	testq	%r15, %r15
	sete	%dil
	callq	_likely
	movl	$1, %r12d
	testq	%rax, %rax
	je	LBB0_22
LBB0_25:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	24(%r15), %rsi
	movq	56(%r15), %rdi
	callq	_xfrm_state_mtu
	movq	32(%r15), %rsi
	movq	48(%r15), %rcx
	cmpq	%rsi, %rax
	cmovlq	%rax, %rsi
	movq	_RTAX_MTU@GOTPCREL(%rip), %r14
	movslq	(%r14), %rax
	movq	%rsi, -8(%rcx,%rax,8)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpq	%rbx, %r15
	je	LBB0_25
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r15), %r15
	movq	%rsi, 24(%r15)
	movq	56(%r15), %rdi
	callq	_xfrm_state_mtu
	movq	32(%r15), %rsi
	cmpq	%rsi, %rax
	cmovlq	%rax, %rsi
	movq	48(%r15), %rax
	movslq	(%r14), %rcx
	movq	%rsi, -8(%rax,%rcx,8)
	cmpq	%rbx, %r15
	jne	LBB0_23
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_XFRM_STATE_VALID,8,3           ## @XFRM_STATE_VALID
	.comm	_XFRM_MODE_FLAG_TUNNEL,4,2      ## @XFRM_MODE_FLAG_TUNNEL
	.comm	_RTAX_MTU,4,2                   ## @RTAX_MTU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xfrm_bundle_ok                 ; -- Begin function xfrm_bundle_ok
	.p2align	2
_xfrm_bundle_ok:                        ; @xfrm_bundle_ok
	.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	x23, x4
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	ldr	x0, [x1, #80]
	ldr	w1, [x1, #168]
	bl	_dst_check
	cbz	w0, LBB0_26
; %bb.1:
	ldr	x0, [x19, #72]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_netif_running
	cbz	w0, LBB0_26
LBB0_3:
	mov	x24, #0
	add	x25, x19, #40
	cmp	x21, #0
	cset	w8, ne
	cmp	x22, #0
	cset	w9, ne
	and	w26, w9, w8
	cmp	w23, #0
	cset	w9, ne
	and	w23, w8, w9
Lloh0:
	adrp	x27, _XFRM_STATE_VALID@GOTPAGE
Lloh1:
	ldr	x27, [x27, _XFRM_STATE_VALID@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x25, [x25, #24]
	ldr	x8, [x25, #16]
	cbz	x8, LBB0_22
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x21, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x25, #16]
	add	x0, x8, #24
	mov	x1, x21
	mov	x2, x20
	bl	_xfrm_selector_match
	cbz	w0, LBB0_26
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w26, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x25, #16]
	mov	x1, x22
	mov	x2, x21
	bl	_security_xfrm_state_pol_flow_match
	cbz	w0, LBB0_26
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x28, [x25, #16]
	ldr	x8, [x28, #16]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x25]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x25, #8]
	cmp	x8, #1
	b.lt	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x25, #104]
	ldr	x0, [x8]
	bl	_atomic_read
	cmp	x0, x28
	b.ne	LBB0_21
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w23, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x25, #16]
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh2:
	adrp	x9, _XFRM_MODE_FLAG_TUNNEL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _XFRM_MODE_FLAG_TUNNEL@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x21
	mov	x2, x20
	bl	_xfrm_state_addr_flow_check
	cbz	w0, LBB0_26
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x25, #24]
	bl	_dst_mtu
	ldr	x8, [x25, #24]
	cmp	x8, x0
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	str	x0, [x25, #24]
	mov	x24, x25
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x25, #88]
	ldr	w1, [x25, #96]
	bl	_dst_check
	cbz	w0, LBB0_26
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x25, #88]
	bl	_dst_mtu
	ldr	x8, [x25, #32]
	cmp	x8, x0
	b.eq	LBB0_4
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	str	x0, [x25, #32]
	mov	x24, x25
	b	LBB0_4
LBB0_21:
	mov	w0, #0
	b	LBB0_26
LBB0_22:
	cmp	x24, #0
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_24
LBB0_23:
	mov	w0, #1
	b	LBB0_26
LBB0_24:
	ldr	x1, [x24, #24]
	ldr	x0, [x24, #56]
	bl	_xfrm_state_mtu
	ldr	x8, [x24, #32]
	cmp	x0, x8
	csel	x1, x0, x8, lt
	ldr	x8, [x24, #48]
Lloh5:
	adrp	x20, _RTAX_MTU@GOTPAGE
Lloh6:
	ldr	x20, [x20, _RTAX_MTU@GOTPAGEOFF]
	ldrsw	x9, [x20]
	add	x8, x8, x9, lsl #3
	stur	x1, [x8, #-8]
	cmp	x24, x19
	b.eq	LBB0_23
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x24, #40]
	str	x1, [x24, #24]
	ldr	x0, [x24, #56]
	bl	_xfrm_state_mtu
	ldr	x8, [x24, #32]
	cmp	x0, x8
	csel	x1, x0, x8, lt
	ldr	x8, [x24, #48]
	ldrsw	x9, [x20]
	add	x8, x8, x9, lsl #3
	stur	x1, [x8, #-8]
	mov	w0, #1
	cmp	x24, x19
	b.ne	LBB0_25
LBB0_26:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_XFRM_STATE_VALID,8,3           ; @XFRM_STATE_VALID
	.comm	_XFRM_MODE_FLAG_TUNNEL,4,2      ; @XFRM_MODE_FLAG_TUNNEL
	.comm	_RTAX_MTU,4,2                   ; @RTAX_MTU
.subsections_via_symbols
