	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unix_dgram_disconnected
_unix_dgram_disconnected:               ## @unix_dgram_disconnected
	.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	%rsi, %r15
	movq	%rdi, %r14
	leaq	12(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_skb_queue_empty
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_skb_queue_purge
	movq	%r14, %rdi
	callq	_unix_sk
	movq	%rax, %rdi
	callq	_wake_up_interruptible_all
	movq	_SOCK_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_sock_flag
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_unix_peer
	cmpq	%r14, %rax
	je	LBB0_4
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_ECONNRESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r15, %rdi
	movl	%eax, 8(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rdi)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_DEAD,4,2                  ## @SOCK_DEAD
	.comm	_ECONNRESET,4,2                 ## @ECONNRESET
	.no_dead_strip	_unix_dgram_disconnected
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unix_dgram_disconnected
_unix_dgram_disconnected:               ; @unix_dgram_disconnected
	.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, x1
	mov	x20, x0
	add	x21, x0, #12
	mov	x0, x21
	bl	_skb_queue_empty
	cbnz	w0, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_skb_queue_purge
	mov	x0, x20
	bl	_unix_sk
	bl	_wake_up_interruptible_all
Lloh0:
	adrp	x8, _SOCK_DEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOCK_DEAD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sock_flag
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_unix_peer
	cmp	x0, x20
	b.eq	LBB0_4
LBB0_3:
	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
LBB0_4:
Lloh3:
	adrp	x8, _ECONNRESET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ECONNRESET@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	x1, [x19]
	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
	br	x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_DEAD,4,2                  ; @SOCK_DEAD
	.comm	_ECONNRESET,4,2                 ; @ECONNRESET
	.no_dead_strip	_unix_dgram_disconnected
.subsections_via_symbols
