	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uds_server
_uds_server:                            ## @uds_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	_UDS_SIDE_SERVER_LISTEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	callq	_uds_common_setup
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	-24(%rbp), %rax
	movl	8(%rax), %edi
	callq	_unlink
	movq	-24(%rbp), %rsi
	movl	(%rsi), %edi
	addq	$8, %rsi
	movl	$4, %edx
	callq	_bind
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.3:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_getpid
	movq	-24(%rbp), %rcx
	movl	%eax, 4(%rcx)
	movl	(%rcx), %edi
	movl	$8, %esi
	callq	_listen
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.4:
	movq	-24(%rbp), %rax
	movq	%rax, (%r14)
	jmp	LBB0_5
LBB0_2:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-24(%rbp), %rdi
	callq	_uds_close
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UDS_SIDE_SERVER_LISTEN,4,2     ## @UDS_SIDE_SERVER_LISTEN
	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_uds_server
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uds_server
_uds_server:                            ; @uds_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, x1
Lloh0:
	adrp	x8, _UDS_SIDE_SERVER_LISTEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UDS_SIDE_SERVER_LISTEN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_uds_common_setup
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	x8, [sp, #8]
	ldr	w0, [x8, #8]
	bl	_unlink
	ldr	x1, [sp, #8]
	ldr	w0, [x1], #8
	mov	w2, #4
	bl	_bind
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:
	bl	_getpid
	ldr	x8, [sp, #8]
	str	w0, [x8, #4]
	ldr	w0, [x8]
	mov	w1, #8
	bl	_listen
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.3:
	mov	w20, #0
	ldr	x8, [sp, #8]
	str	x8, [x19]
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	ldr	x0, [sp, #8]
	bl	_uds_close
LBB0_5:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_UDS_SIDE_SERVER_LISTEN,4,2     ; @UDS_SIDE_SERVER_LISTEN
	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_uds_server
.subsections_via_symbols
