	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uc_client_exit                 ## -- Begin function uc_client_exit
	.p2align	4, 0x90
_uc_client_exit:                        ## @uc_client_exit
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	movq	_uc_cfg@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_SYNC_SERVER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_SYNC_SEND@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_close
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	movq	(%r14), %rax
	movq	_SYNC_CLIENT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_SYNC_RECV@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_close
	testq	%rax, %rax
	jns	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_uc_logmsg
	movl	$1, %ebx
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_uc_dbgmsg
	movl	%ebx, %edi
	callq	__exit
LBB0_3:
	testl	%ebx, %ebx
	jne	LBB0_4
## %bb.5:
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_6
LBB0_4:
	negl	%ebx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_uc_cfg,8,3                     ## @uc_cfg
	.comm	_SYNC_SERVER,8,3                ## @SYNC_SERVER
	.comm	_SYNC_SEND,8,3                  ## @SYNC_SEND
	.comm	_SYNC_CLIENT,8,3                ## @SYNC_CLIENT
	.comm	_SYNC_RECV,8,3                  ## @SYNC_RECV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"client_exit: close"

	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"exit: code %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uc_client_exit                 ; -- Begin function uc_client_exit
	.p2align	2
_uc_client_exit:                        ; @uc_client_exit
	.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
Lloh0:
	adrp	x20, _uc_cfg@GOTPAGE
Lloh1:
	ldr	x20, [x20, _uc_cfg@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _SYNC_SERVER@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SYNC_SERVER@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh5:
	adrp	x9, _SYNC_SEND@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SYNC_SEND@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_close
	tbnz	x0, #63, LBB0_2
; %bb.1:
	ldr	x8, [x20]
Lloh8:
	adrp	x9, _SYNC_CLIENT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SYNC_CLIENT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh11:
	adrp	x9, _SYNC_RECV@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SYNC_RECV@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_close
	tbz	x0, #63, LBB0_3
LBB0_2:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_uc_logmsg
	mov	w19, #1
	b	LBB0_4
LBB0_3:
Lloh16:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w19, #0
	csneg	w19, w8, w19, eq
LBB0_4:
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_uc_dbgmsg
	mov	x0, x19
	bl	__exit
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_uc_cfg,8,3                     ; @uc_cfg
	.comm	_SYNC_SERVER,8,3                ; @SYNC_SERVER
	.comm	_SYNC_SEND,8,3                  ; @SYNC_SEND
	.comm	_SYNC_CLIENT,8,3                ; @SYNC_CLIENT
	.comm	_SYNC_RECV,8,3                  ; @SYNC_RECV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"client_exit: close"

	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"exit: code %d"

.subsections_via_symbols
