	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dn_hash_sock
_dn_hash_sock:                          ## @dn_hash_sock
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_DN_SK
	movq	%rax, %r15
	movq	_EUSERS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_sk_hashed
	movl	%eax, %edi
	callq	_BUG_ON
	movq	_dn_hash_lock@GOTPCREL(%rip), %rdi
	callq	_write_lock_bh
	cmpl	$0, (%r15)
	jne	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_port_alloc
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	_EADDRINUSE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_dn_find_list
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_sk_add_node
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_2:
	negl	%ebx
LBB0_5:
	movq	_dn_hash_lock@GOTPCREL(%rip), %rdi
	callq	_write_unlock_bh
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EUSERS,4,2                     ## @EUSERS
	.comm	_dn_hash_lock,4,2               ## @dn_hash_lock
	.comm	_EADDRINUSE,4,2                 ## @EADDRINUSE
	.no_dead_strip	_dn_hash_sock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dn_hash_sock
_dn_hash_sock:                          ; @dn_hash_sock
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_DN_SK
	mov	x20, x0
Lloh0:
	adrp	x8, _EUSERS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EUSERS@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_sk_hashed
	bl	_BUG_ON
Lloh3:
	adrp	x0, _dn_hash_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _dn_hash_lock@GOTPAGEOFF]
	bl	_write_lock_bh
	ldr	w8, [x20]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_port_alloc
	cbz	w0, LBB0_5
LBB0_2:
Lloh5:
	adrp	x8, _EADDRINUSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EADDRINUSE@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_dn_find_list
	cbz	x0, LBB0_4
; %bb.3:
	mov	x1, x0
	mov	x0, x19
	bl	_sk_add_node
	mov	w19, #0
	b	LBB0_6
LBB0_4:
	neg	w19, w20
	b	LBB0_6
LBB0_5:
	neg	w19, w21
LBB0_6:
Lloh8:
	adrp	x0, _dn_hash_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, _dn_hash_lock@GOTPAGEOFF]
	bl	_write_unlock_bh
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EUSERS,4,2                     ; @EUSERS
	.comm	_dn_hash_lock,4,2               ; @dn_hash_lock
	.comm	_EADDRINUSE,4,2                 ; @EADDRINUSE
	.no_dead_strip	_dn_hash_sock
.subsections_via_symbols
