	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nr_heartbeat_expiry
_nr_heartbeat_expiry:                   ## @nr_heartbeat_expiry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_nr_sk
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_bh_lock_sock
	movl	(%r14), %eax
	cmpl	$128, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_9
## %bb.2:
	movq	_SOCK_DESTROY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sock_flag
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	movq	%rbx, %rdi
	callq	_sock_hold
	movq	%rbx, %rdi
	callq	_bh_unlock_sock
	movq	%rbx, %rdi
	callq	_nr_destroy_socket
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_sock_put                       ## TAILCALL
LBB0_6:
	leaq	4(%rbx), %rdi
	callq	_atomic_read
	movl	(%rbx), %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	cmpl	%edx, %eax
	jge	LBB0_9
## %bb.7:
	movl	4(%r14), %eax
	movq	_NR_COND_OWN_RX_BUSY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_9
## %bb.8:
	movq	_NR_COND_ACK_PENDING@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, 4(%r14)
	movl	8(%r14), %eax
	movl	%eax, 12(%r14)
	movq	_NR_INFOACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nr_write_internal
	jmp	LBB0_9
LBB0_3:
	movl	8(%rbx), %eax
	movq	_TCP_LISTEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.4:
	movq	_SOCK_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sock_flag
	testl	%eax, %eax
	jne	LBB0_5
LBB0_9:
	movq	%rbx, %rdi
	callq	_nr_start_heartbeat
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bh_unlock_sock                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_DESTROY,4,2               ## @SOCK_DESTROY
	.comm	_TCP_LISTEN,4,2                 ## @TCP_LISTEN
	.comm	_SOCK_DEAD,4,2                  ## @SOCK_DEAD
	.comm	_NR_COND_OWN_RX_BUSY,4,2        ## @NR_COND_OWN_RX_BUSY
	.comm	_NR_COND_ACK_PENDING,4,2        ## @NR_COND_ACK_PENDING
	.comm	_NR_INFOACK,4,2                 ## @NR_INFOACK
	.no_dead_strip	_nr_heartbeat_expiry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nr_heartbeat_expiry
_nr_heartbeat_expiry:                   ; @nr_heartbeat_expiry
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_nr_sk
	mov	x20, x0
	mov	x0, x19
	bl	_bh_lock_sock
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_9
; %bb.2:
Lloh0:
	adrp	x8, _SOCK_DESTROY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOCK_DESTROY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sock_flag
	cbz	w0, LBB0_7
LBB0_3:
	mov	x0, x19
	bl	_sock_hold
	mov	x0, x19
	bl	_bh_unlock_sock
	mov	x0, x19
	bl	_nr_destroy_socket
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sock_put
LBB0_4:
	add	x0, x19, #4
	bl	_atomic_read
	ldr	w8, [x19]
	cmp	w8, #0
	cinc	w8, w8, lt
	cmp	w0, w8, asr #1
	b.ge	LBB0_9
; %bb.5:
	ldr	w8, [x20, #4]
Lloh3:
	adrp	x9, _NR_COND_OWN_RX_BUSY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NR_COND_OWN_RX_BUSY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.6:
Lloh6:
	adrp	x10, _NR_COND_ACK_PENDING@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NR_COND_ACK_PENDING@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
	bic	w8, w8, w9
	str	w8, [x20, #4]
	ldr	w8, [x20, #8]
	str	w8, [x20, #12]
Lloh9:
	adrp	x8, _NR_INFOACK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NR_INFOACK@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nr_write_internal
	b	LBB0_9
LBB0_7:
	ldr	w8, [x19, #8]
Lloh12:
	adrp	x9, _TCP_LISTEN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TCP_LISTEN@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.8:
Lloh15:
	adrp	x8, _SOCK_DEAD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SOCK_DEAD@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sock_flag
	cbnz	w0, LBB0_3
LBB0_9:
	mov	x0, x19
	bl	_nr_start_heartbeat
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bh_unlock_sock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_DESTROY,4,2               ; @SOCK_DESTROY
	.comm	_TCP_LISTEN,4,2                 ; @TCP_LISTEN
	.comm	_SOCK_DEAD,4,2                  ; @SOCK_DEAD
	.comm	_NR_COND_OWN_RX_BUSY,4,2        ; @NR_COND_OWN_RX_BUSY
	.comm	_NR_COND_ACK_PENDING,4,2        ; @NR_COND_ACK_PENDING
	.comm	_NR_INFOACK,4,2                 ; @NR_INFOACK
	.no_dead_strip	_nr_heartbeat_expiry
.subsections_via_symbols
