	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function selinux_xfrm_skb_sid_ingress
_selinux_xfrm_skb_sid_ingress:          ## @selinux_xfrm_skb_sid_ingress
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	(%rdi), %r12
	movq	_SECSID_NULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rsi)
	testq	%r12, %r12
	je	LBB0_16
## %bb.1:
	movq	%rsi, %r15
	movl	(%r12), %r13d
	xorl	%r14d, %r14d
                                        ## implicit-def: $eax
                                        ## kill: killed $eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rdx), %rcx
	movq	%rcx, (%r15)
	movl	$1, %r14d
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ecx, %ecx
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	decq	%r13
	testl	%ecx, %ecx
	jne	LBB0_13
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r13d, %r13d
	jle	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rax
	movq	-8(%rax,%r13,8), %rbx
	movq	%rbx, %rdi
	callq	_selinux_authorizable_xfrm
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rdx
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15), %rsi
	movl	$1, %r14d
	movl	$0, %ecx
	cmpq	(%rdx), %rsi
	je	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ecx, %ecx
	movq	_EINVAL@GOTPCREL(%rip), %rdx
	subl	(%rdx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	$1, %ecx
	jmp	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$2, %ecx
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %r14d
	jmp	LBB0_3
LBB0_16:
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_13:
	cmpl	$2, %ecx
	je	LBB0_17
## %bb.14:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SECSID_NULL,8,3                ## @SECSID_NULL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_selinux_xfrm_skb_sid_ingress
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function selinux_xfrm_skb_sid_ingress
_selinux_xfrm_skb_sid_ingress:          ; @selinux_xfrm_skb_sid_ingress
	.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
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _SECSID_NULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SECSID_NULL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x1]
	cbz	x22, LBB0_12
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	w26, #0
	ldr	w23, [x22]
Lloh3:
	adrp	x24, _EINVAL@GOTPAGE
Lloh4:
	ldr	x24, [x24, _EINVAL@GOTPAGEOFF]
                                        ; implicit-def: $w25
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #0
	sub	x23, x23, #1
	cbnz	w8, LBB0_13
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w23, #1
	b.lt	LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22, #8]
	add	x8, x8, x23, lsl #3
	ldur	x21, [x8, #-8]
	mov	x0, x21
	bl	_selinux_authorizable_xfrm
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21]
	cbz	w26, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20]
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24]
	neg	w25, w8
	mov	w8, #1
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8]
	str	x8, [x20]
	cbz	w19, LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #0
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w26, #1
	sub	x23, x23, #1
	cbz	w8, LBB0_3
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #2
	b	LBB0_10
LBB0_12:
	mov	w0, #0
	b	LBB0_14
LBB0_13:
	cmp	w8, #2
	csel	w0, wzr, w25, eq
LBB0_14:
	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 AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SECSID_NULL,8,3                ; @SECSID_NULL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_selinux_xfrm_skb_sid_ingress
.subsections_via_symbols
