	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_atexit
	movq	_uds_name1@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_mkstemp
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movl	(%r12), %edi
	callq	_unlink
	movl	(%r12), %edi
	callq	_create_uds_server
	movl	%eax, %r14d
	movq	_uds_name2@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_mkstemp
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_4:
	movl	(%r13), %edi
	callq	_unlink
	movl	(%r13), %edi
	callq	_create_uds_server
	movl	%eax, %r15d
	movq	_PF_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_socket
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_6:
	movl	(%r12), %esi
	movl	%ebx, %edi
	callq	_connect_uds_server
	movl	%r14d, %edi
	callq	_close
	movl	(%r13), %esi
	movl	%ebx, %edi
	callq	_connect_uds_server
	movl	%r15d, %edi
	callq	_close
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_cleanup,4,2                    ## @cleanup
	.comm	_uds_name1,4,2                  ## @uds_name1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mkstemp"

	.comm	_uds_name2,4,2                  ## @uds_name2
	.comm	_PF_LOCAL,4,2                   ## @PF_LOCAL
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
L_.str.1:                               ## @.str.1
	.asciz	"can't create socket"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _cleanup@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cleanup@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_atexit
Lloh3:
	adrp	x22, _uds_name1@GOTPAGE
Lloh4:
	ldr	x22, [x22, _uds_name1@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_mkstemp
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	ldr	w0, [x22]
	bl	_unlink
	ldr	w0, [x22]
	bl	_create_uds_server
	mov	x19, x0
Lloh7:
	adrp	x23, _uds_name2@GOTPAGE
Lloh8:
	ldr	x23, [x23, _uds_name2@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_mkstemp
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
	ldr	w0, [x23]
	bl	_unlink
	ldr	w0, [x23]
	bl	_create_uds_server
	mov	x20, x0
Lloh11:
	adrp	x8, _PF_LOCAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PF_LOCAL@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
	mov	x21, x0
	tbz	w0, #31, LBB0_6
; %bb.5:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_6:
	ldr	w1, [x22]
	mov	x0, x21
	bl	_connect_uds_server
	mov	x0, x19
	bl	_close
	ldr	w1, [x23]
	mov	x0, x21
	bl	_connect_uds_server
	mov	x0, x20
	bl	_close
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_cleanup,4,2                    ; @cleanup
	.comm	_uds_name1,4,2                  ; @uds_name1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mkstemp"

	.comm	_uds_name2,4,2                  ; @uds_name2
	.comm	_PF_LOCAL,4,2                   ; @PF_LOCAL
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
l_.str.1:                               ; @.str.1
	.asciz	"can't create socket"

.subsections_via_symbols
