	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sock_fd_create
_sock_fd_create:                        ## @sock_fd_create
	.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
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movl	%esi, %r15d
	movl	%edi, %r13d
	movq	_socket_fdops@GOTPCREL(%rip), %rdi
	callq	_adhoc_fd_create
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	_S_IFSOCK@GOTPCREL(%rip), %rax
	movl	$438, %ecx                      ## imm = 0x1B6
	orl	(%rax), %ecx
	movl	%ecx, 24(%rbx)
	movl	%r13d, (%rbx)
	movl	%r15d, 4(%rbx)
	movq	_SOCKET_TYPE_MASK@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%esi, %eax
	andl	%r14d, %eax
	movl	%eax, 8(%rbx)
	movl	%r12d, 12(%rbx)
	movq	_AF_LOCAL_@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_3
## %bb.2:
	leaq	20(%rbx), %rdi
	callq	_cond_init
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_list_init
	movl	(%r13), %esi
LBB0_3:
	notl	%esi
	andl	%r14d, %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_f_install                      ## TAILCALL
LBB0_4:
	movq	__ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_socket_fdops,4,2               ## @socket_fdops
	.comm	__ENOMEM,4,2                    ## @_ENOMEM
	.comm	_S_IFSOCK,4,2                   ## @S_IFSOCK
	.comm	_SOCKET_TYPE_MASK,4,2           ## @SOCKET_TYPE_MASK
	.comm	_AF_LOCAL_,4,2                  ## @AF_LOCAL_
	.no_dead_strip	_sock_fd_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sock_fd_create
_sock_fd_create:                        ; @sock_fd_create
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x0, _socket_fdops@GOTPAGE
Lloh1:
	ldr	x0, [x0, _socket_fdops@GOTPAGEOFF]
	bl	_adhoc_fd_create
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x8, _S_IFSOCK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _S_IFSOCK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	w9, #438
	orr	w8, w8, w9
	str	w8, [x0, #24]
	stp	w23, w21, [x0]
Lloh5:
	adrp	x23, _SOCKET_TYPE_MASK@GOTPAGE
Lloh6:
	ldr	x23, [x23, _SOCKET_TYPE_MASK@GOTPAGEOFF]
	ldr	w8, [x23]
	and	w9, w8, w19
	stp	w9, w22, [x0, #8]
Lloh7:
	adrp	x9, _AF_LOCAL_@GOTPAGE
Lloh8:
	ldr	x9, [x9, _AF_LOCAL_@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	w9, w21
	b.ne	LBB0_3
; %bb.2:
	add	x0, x20, #20
	bl	_cond_init
	add	x0, x20, #16
	bl	_list_init
	ldr	w8, [x23]
LBB0_3:
	bic	w1, w19, w8
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_f_install
LBB0_4:
Lloh10:
	adrp	x8, __ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, __ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_socket_fdops,4,2               ; @socket_fdops
	.comm	__ENOMEM,4,2                    ; @_ENOMEM
	.comm	_S_IFSOCK,4,2                   ; @S_IFSOCK
	.comm	_SOCKET_TYPE_MASK,4,2           ; @SOCKET_TYPE_MASK
	.comm	_AF_LOCAL_,4,2                  ; @AF_LOCAL_
	.no_dead_strip	_sock_fd_create
.subsections_via_symbols
