	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_rpcs_default_check_perm    ## -- Begin function tcp_rpcs_default_check_perm
	.p2align	4, 0x90
_tcp_rpcs_default_check_perm:           ## @tcp_rpcs_default_check_perm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_C_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_6
## %bb.1:
	movq	24(%rbx), %rdi
	callq	_is_ipv6_localhost
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	16(%rbx), %rdi
	callq	_is_ipv6_localhost
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	$-1, %eax
	xorl	%ecx, %ecx
	jmp	LBB0_9
LBB0_6:
	movl	4(%rbx), %ecx
	movl	%ecx, %edx
	andl	$-16777216, %edx                ## imm = 0xFF000000
	cmpl	$2130706432, %edx               ## imm = 0x7F000000
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	cmpl	$167772160, %edx                ## imm = 0xA000000
	jne	LBB0_12
LBB0_8:
	xorl	8(%rbx), %ecx
	movl	$-65536, %eax                   ## imm = 0xFFFF0000
	jmp	LBB0_9
LBB0_4:
	movq	16(%rbx), %rcx
	movq	24(%rbx), %rdx
	movl	(%rdx), %esi
	xorl	%eax, %eax
	cmpl	(%rcx), %esi
	jne	LBB0_12
## %bb.5:
	movl	4(%rcx), %ecx
	xorl	4(%rdx), %ecx
	movl	$65535, %eax                    ## imm = 0xFFFF
LBB0_9:
	andl	%eax, %ecx
	movq	_aes_initialized@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_10
## %bb.11:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	sete	%al
	orl	$2, %eax
	jmp	LBB0_12
LBB0_10:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	sete	%al
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_C_IPV6,4,2                     ## @C_IPV6
	.comm	_aes_initialized,8,3            ## @aes_initialized
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_rpcs_default_check_perm    ; -- Begin function tcp_rpcs_default_check_perm
	.p2align	2
_tcp_rpcs_default_check_perm:           ; @tcp_rpcs_default_check_perm
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _C_IPV6@GOTPAGE
Lloh1:
	ldr	x9, [x9, _C_IPV6@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	ldr	x0, [x19, #24]
	bl	_is_ipv6_localhost
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x0, [x19, #16]
	bl	_is_ipv6_localhost
	cbz	x0, LBB0_6
; %bb.3:
	mov	w8, #0
	mov	w9, #-1
	b	LBB0_8
LBB0_4:
	ldr	w8, [x19, #4]
	and	w9, w8, #0xff000000
	mov	w10, #2130706432
	cmp	w9, w10
	mov	w10, #167772160
	ccmp	w9, w10, #4, ne
	b.ne	LBB0_10
; %bb.5:
	ldr	w9, [x19, #8]
	eor	w8, w9, w8
	mov	w9, #-65536
	b	LBB0_8
LBB0_6:
	ldp	x9, x8, [x19, #16]
	ldr	w10, [x8]
	ldr	w11, [x9]
	cmp	w10, w11
	b.ne	LBB0_10
; %bb.7:
	ldr	w8, [x8, #4]
	ldr	w9, [x9, #4]
	eor	w8, w9, w8
	mov	w9, #65535
LBB0_8:
Lloh3:
	adrp	x10, _aes_initialized@GOTPAGE
Lloh4:
	ldr	x10, [x10, _aes_initialized@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	and	w8, w9, w8
	cmp	x10, #0
	b.le	LBB0_11
; %bb.9:
	cmp	w8, #0
	mov	w8, #2
	cinc	w0, w8, eq
	b	LBB0_12
LBB0_10:
	mov	w0, #0
	b	LBB0_12
LBB0_11:
	cmp	w8, #0
	cset	w0, eq
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_C_IPV6,4,2                     ; @C_IPV6
	.comm	_aes_initialized,8,3            ; @aes_initialized
.subsections_via_symbols
