	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_selinux_netlbl_skbuff_setsid   ## -- Begin function selinux_netlbl_skbuff_setsid
	.p2align	4, 0x90
_selinux_netlbl_skbuff_setsid:          ## @selinux_netlbl_skbuff_setsid
	.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, %r12d
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	_NLBL_REQSKB@GOTPCREL(%rip), %rdx
	xorl	%ebx, %ebx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.2:
	movq	8(%rax), %r13
	testq	%r13, %r13
	je	LBB0_3
## %bb.5:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	callq	_netlbl_skbuff_setattr
	movl	%eax, %ebx
	leaq	-48(%rbp), %rax
	cmpq	%rax, %r13
	jne	LBB0_7
	jmp	LBB0_6
LBB0_3:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_netlbl_secattr_init
	movl	%r12d, %edi
	movq	%rbx, %rsi
	callq	_security_netlbl_sid_to_secattr
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_netlbl_skbuff_setattr
	movl	%eax, %ebx
LBB0_6:
	leaq	-48(%rbp), %rdi
	callq	_netlbl_secattr_destroy
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NLBL_REQSKB,8,3                ## @NLBL_REQSKB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_selinux_netlbl_skbuff_setsid   ; -- Begin function selinux_netlbl_skbuff_setsid
	.p2align	2
_selinux_netlbl_skbuff_setsid:          ; @selinux_netlbl_skbuff_setsid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x8]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _NLBL_REQSKB@GOTPAGE
Lloh1:
	ldr	x10, [x10, _NLBL_REQSKB@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.2:
	ldr	x22, [x8, #8]
	cbz	x22, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_netlbl_skbuff_setattr
	mov	x21, x0
	add	x8, sp, #8
	cmp	x22, x8
	b.ne	LBB0_8
	b	LBB0_6
LBB0_4:
	add	x0, sp, #8
	bl	_netlbl_secattr_init
	add	x1, sp, #8
	mov	x0, x21
	bl	_security_netlbl_sid_to_secattr
	mov	x21, x0
	cbnz	w0, LBB0_6
; %bb.5:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_netlbl_skbuff_setattr
	mov	x21, x0
LBB0_6:
	add	x0, sp, #8
	bl	_netlbl_secattr_destroy
	b	LBB0_8
LBB0_7:
	mov	w21, #0
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NLBL_REQSKB,8,3                ; @NLBL_REQSKB
.subsections_via_symbols
