	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_security_netif_sid             ## -- Begin function security_netif_sid
	.p2align	4, 0x90
_security_netif_sid:                    ## @security_netif_sid
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_policy_rwlock@GOTPCREL(%rip), %rdi
	callq	_read_lock
	movq	_policydb@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_OCON_NETIF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rbx
	movq	_SECINITSID_NETIF@GOTPCREL(%rip), %r12
	testq	%rbx, %rbx
	je	LBB0_9
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	24(%rbx), %esi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_9:
	movq	(%r12), %rax
LBB0_10:
	movq	%rax, (%r14)
	xorl	%r15d, %r15d
LBB0_11:
	movq	_policy_rwlock@GOTPCREL(%rip), %rdi
	callq	_read_unlock
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	(%rbx), %rdx
	movq	(%rdx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	cmpq	$0, 8(%rdx)
	jne	LBB0_10
LBB0_6:
	movq	8(%rbx), %rsi
	movq	_sidtab@GOTPCREL(%rip), %rdi
	callq	_sidtab_context_to_sid
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:
	movq	(%rbx), %rdx
	movq	8(%rbx), %rsi
	addq	$4, %rsi
	addq	$8, %rdx
	movq	_sidtab@GOTPCREL(%rip), %rdi
	callq	_sidtab_context_to_sid
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_11
## %bb.8:
	movq	(%rbx), %r12
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_policy_rwlock,4,2              ## @policy_rwlock
	.comm	_policydb,8,3                   ## @policydb
	.comm	_OCON_NETIF,8,3                 ## @OCON_NETIF
	.comm	_sidtab,4,2                     ## @sidtab
	.comm	_SECINITSID_NETIF,8,3           ## @SECINITSID_NETIF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_security_netif_sid             ; -- Begin function security_netif_sid
	.p2align	2
_security_netif_sid:                    ; @security_netif_sid
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, _policy_rwlock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _policy_rwlock@GOTPAGEOFF]
	bl	_read_lock
Lloh2:
	adrp	x8, _policydb@GOTPAGE
Lloh3:
	ldr	x8, [x8, _policydb@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _OCON_NETIF@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OCON_NETIF@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x21, [x8, x9, lsl #3]
	cbz	x21, LBB0_4
; %bb.1:
Lloh8:
	adrp	x22, _SECINITSID_NETIF@GOTPAGE
Lloh9:
	ldr	x22, [x22, _SECINITSID_NETIF@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21, #24]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x21, [x21, #16]
	cbnz	x21, LBB0_2
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x22, _SECINITSID_NETIF@GOTPAGE
Lloh11:
	ldr	x22, [x22, _SECINITSID_NETIF@GOTPAGEOFF]
LBB0_5:
	ldr	x8, [x22]
LBB0_6:
	mov	w20, #0
	str	x8, [x19]
LBB0_7:
Lloh12:
	adrp	x0, _policy_rwlock@GOTPAGE
Lloh13:
	ldr	x0, [x0, _policy_rwlock@GOTPAGEOFF]
	bl	_read_unlock
	mov	x0, x20
	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
LBB0_8:
	ldr	x2, [x21]
	ldr	x8, [x2]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	x9, [x2, #8]
	cbnz	x9, LBB0_6
LBB0_10:
	ldr	x1, [x21, #8]
Lloh14:
	adrp	x0, _sidtab@GOTPAGE
Lloh15:
	ldr	x0, [x0, _sidtab@GOTPAGEOFF]
	bl	_sidtab_context_to_sid
	mov	x20, x0
	cbnz	w0, LBB0_7
; %bb.11:
	ldp	x9, x8, [x21]
	add	x1, x8, #4
	add	x2, x9, #8
Lloh16:
	adrp	x0, _sidtab@GOTPAGE
Lloh17:
	ldr	x0, [x0, _sidtab@GOTPAGEOFF]
	bl	_sidtab_context_to_sid
	mov	x20, x0
	cbnz	w0, LBB0_7
; %bb.12:
	ldr	x22, [x21]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_policy_rwlock,4,2              ; @policy_rwlock
	.comm	_policydb,8,3                   ; @policydb
	.comm	_OCON_NETIF,8,3                 ; @OCON_NETIF
	.comm	_sidtab,4,2                     ; @sidtab
	.comm	_SECINITSID_NETIF,8,3           ; @SECINITSID_NETIF
.subsections_via_symbols
