	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smack_socket_connect
_smack_socket_connect:                  ## @smack_socket_connect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdi
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	(%rdi), %r8
	movq	_PF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r8
	jne	LBB0_4
## %bb.2:
	cmpl	$3, %edx
	ja	LBB0_5
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	popq	%rbp
	retq
LBB0_5:
	popq	%rbp
	jmp	_smack_netlabel_send            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_INET,8,3                    ## @PF_INET
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_smack_socket_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smack_socket_connect
_smack_socket_connect:                  ; @smack_socket_connect
	.cfi_startproc
; %bb.0:
	ldr	x0, [x0]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PF_INET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PF_INET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	cmp	w2, #3
	b.hi	LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ret
LBB0_5:
	mov	w0, #0
	ret
LBB0_6:
	b	_smack_netlabel_send
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_INET,8,3                    ; @PF_INET
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_smack_socket_connect
.subsections_via_symbols
