	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function selinux_socket_unix_stream_connect
_selinux_socket_unix_stream_connect:    ## @selinux_socket_unix_stream_connect
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_SOCK_INODE
	movq	(%rax), %r13
	movq	%rbx, %rdi
	callq	_SOCK_INODE
	movq	(%rax), %r14
	movq	_NET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %r12
	movq	%r12, %rdi
	callq	_COMMON_AUDIT_DATA_INIT
	movq	(%rbx), %rax
	movq	%rax, -56(%rbp)
	movl	(%r14), %esi
	movl	(%r13), %edi
	movl	4(%r13), %edx
	movq	_UNIX_STREAM_SOCKET__CONNECTTO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %r8
	callq	_avc_has_perm
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%r15), %rax
	movq	(%rax), %rax
	movl	(%r14), %edi
	movl	%edi, 4(%rax)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movl	(%r13), %esi
	movl	%esi, 4(%rdx)
	callq	_security_sid_mls_copy
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NET,4,2                        ## @NET
	.comm	_UNIX_STREAM_SOCKET__CONNECTTO,4,2 ## @UNIX_STREAM_SOCKET__CONNECTTO
	.no_dead_strip	_selinux_socket_unix_stream_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function selinux_socket_unix_stream_connect
_selinux_socket_unix_stream_connect:    ; @selinux_socket_unix_stream_connect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_SOCK_INODE
	ldr	x22, [x0]
	mov	x0, x21
	bl	_SOCK_INODE
	ldr	x23, [x0]
Lloh0:
	adrp	x8, _NET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_COMMON_AUDIT_DATA_INIT
	ldr	x8, [x21]
	str	x8, [sp, #8]
	ldr	w1, [x23]
	ldp	w0, w2, [x22]
Lloh3:
	adrp	x8, _UNIX_STREAM_SOCKET__CONNECTTO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UNIX_STREAM_SOCKET__CONNECTTO@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x4, sp, #8
	bl	_avc_has_perm
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w0, [x23]
	str	w0, [x8, #4]
	ldr	x2, [x19]
	ldr	w1, [x22]
	str	w1, [x2, #4]
	bl	_security_sid_mls_copy
LBB0_2:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NET,4,2                        ; @NET
	.comm	_UNIX_STREAM_SOCKET__CONNECTTO,4,2 ; @UNIX_STREAM_SOCKET__CONNECTTO
	.no_dead_strip	_selinux_socket_unix_stream_connect
.subsections_via_symbols
