	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unix_create
_unix_create:                           ## @unix_create
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	je	LBB0_4
## %bb.1:
	movq	_PF_UNIX@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	je	LBB0_4
## %bb.2:
	movq	_EPROTONOSUPPORT@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_4:
	movq	_SS_UNCONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rsi)
	movl	(%rsi), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_8
## %bb.5:
	movq	_unix_stream_ops@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_9:
	movq	_unix_seqpacket_ops@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_6:
	movl	$131, (%rsi)
LBB0_7:
	movq	_unix_dgram_ops@GOTPCREL(%rip), %rax
LBB0_10:
	movq	%rax, 8(%rsi)
	callq	_unix_create1
	movq	%rax, %rcx
	movq	_ENOMEM@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	subl	(%rdx), %eax
	xorl	%edx, %edx
	testq	%rcx, %rcx
	cmovnel	%edx, %eax
	popq	%rbp
	retq
LBB0_8:
	movq	_ESOCKTNOSUPPORT@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_PF_UNIX,4,2                    ## @PF_UNIX
	.comm	_EPROTONOSUPPORT,4,2            ## @EPROTONOSUPPORT
	.comm	_SS_UNCONNECTED,4,2             ## @SS_UNCONNECTED
	.comm	_unix_stream_ops,4,2            ## @unix_stream_ops
	.comm	_unix_dgram_ops,4,2             ## @unix_dgram_ops
	.comm	_unix_seqpacket_ops,4,2         ## @unix_seqpacket_ops
	.comm	_ESOCKTNOSUPPORT,4,2            ## @ESOCKTNOSUPPORT
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_unix_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unix_create
_unix_create:                           ; @unix_create
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	w2, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _PF_UNIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_UNIX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.eq	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _EPROTONOSUPPORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EPROTONOSUPPORT@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh5:
	adrp	x8, _SS_UNCONNECTED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SS_UNCONNECTED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x1, #16]
	ldr	w8, [x1]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hi	LBB0_10
; %bb.5:
Lloh8:
	adrp	x8, _unix_stream_ops@GOTPAGE
Lloh9:
	ldr	x8, [x8, _unix_stream_ops@GOTPAGEOFF]
Lloh10:
	adrp	x10, lJTI0_0@PAGE
Lloh11:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_6
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_6:
Lloh12:
	adrp	x8, _unix_seqpacket_ops@GOTPAGE
Lloh13:
	ldr	x8, [x8, _unix_seqpacket_ops@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	mov	w8, #131
	str	w8, [x1]
LBB0_8:
Lloh14:
	adrp	x8, _unix_dgram_ops@GOTPAGE
Lloh15:
	ldr	x8, [x8, _unix_dgram_ops@GOTPAGEOFF]
LBB0_9:
	str	x8, [x1, #8]
	bl	_unix_create1
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	x0, #0
	csneg	w0, wzr, w8, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh19:
	adrp	x8, _ESOCKTNOSUPPORT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ESOCKTNOSUPPORT@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
                                        ; -- End function
	.comm	_PF_UNIX,4,2                    ; @PF_UNIX
	.comm	_EPROTONOSUPPORT,4,2            ; @EPROTONOSUPPORT
	.comm	_SS_UNCONNECTED,4,2             ; @SS_UNCONNECTED
	.comm	_unix_stream_ops,4,2            ; @unix_stream_ops
	.comm	_unix_dgram_ops,4,2             ; @unix_dgram_ops
	.comm	_unix_seqpacket_ops,4,2         ; @unix_seqpacket_ops
	.comm	_ESOCKTNOSUPPORT,4,2            ; @ESOCKTNOSUPPORT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_unix_create
.subsections_via_symbols
