	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function t_peercred_server
_t_peercred_server:                     ## @t_peercred_server
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	xorl	%eax, %eax
	callq	_uc_sync_send
	movl	$-2, %ebx
	testq	%rax, %rax
	js	LBB0_6
## %bb.1:
	movl	%r14d, %edi
	callq	_uc_socket_accept
	testl	%eax, %eax
	js	LBB0_6
## %bb.2:
	movl	%eax, %r14d
	movl	$4, -28(%rbp)
	movq	_LOCAL_PEERCRED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rcx
	leaq	-28(%rbp), %r8
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_getsockopt
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	movl	-28(%rbp), %esi
	leaq	-32(%rbp), %rdi
	callq	_check_xucred
	movq	%rax, %r15
	sarq	$63, %r15
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_uc_logmsg
	movl	$-2, %r15d
LBB0_5:
	movl	%r14d, %edi
	callq	_uc_socket_close
	testq	%rax, %rax
	movl	$-2, %ebx
	cmovnsl	%r15d, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOCAL_PEERCRED,4,2             ## @LOCAL_PEERCRED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"getsockopt(LOCAL_PEERCRED)"

	.no_dead_strip	_t_peercred_server
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function t_peercred_server
_t_peercred_server:                     ; @t_peercred_server
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_uc_sync_send
	tbnz	x0, #63, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_uc_socket_accept
	tbnz	w0, #31, LBB0_4
; %bb.2:
	mov	x19, x0
	mov	w8, #4
	str	w8, [sp, #4]
Lloh0:
	adrp	x8, _LOCAL_PEERCRED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOCAL_PEERCRED@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x3, sp, #8
	add	x4, sp, #4
	mov	w1, #0
	bl	_getsockopt
	tbnz	x0, #63, LBB0_5
; %bb.3:
	ldr	w1, [sp, #4]
	add	x0, sp, #8
	bl	_check_xucred
	asr	x20, x0, #63
	b	LBB0_6
LBB0_4:
	mov	w0, #-2
	b	LBB0_7
LBB0_5:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_uc_logmsg
	mov	w20, #-2
LBB0_6:
	mov	x0, x19
	bl	_uc_socket_close
	cmp	x0, #0
	mov	w8, #-2
	csel	w0, w8, w20, lt
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_LOCAL_PEERCRED,4,2             ; @LOCAL_PEERCRED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"getsockopt(LOCAL_PEERCRED)"

	.no_dead_strip	_t_peercred_server
.subsections_via_symbols
