	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x25_heartbeat_expiry
_x25_heartbeat_expiry:                  ## @x25_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_bh_lock_sock
	movq	%rbx, %rdi
	callq	_sock_owned_by_user
	testq	%rax, %rax
	je	LBB0_1
LBB0_8:
	movq	%rbx, %rdi
	callq	_x25_start_heartbeat
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_bh_unlock_sock                 ## TAILCALL
LBB0_1:
	movq	%rbx, %rdi
	callq	_x25_sk
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_7
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_8
## %bb.3:
	movq	_SOCK_DESTROY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sock_flag
	testl	%eax, %eax
	je	LBB0_4
LBB0_6:
	movq	%rbx, %rdi
	callq	_bh_unlock_sock
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_x25_destroy_socket_from_timer  ## TAILCALL
LBB0_7:
	movq	%rbx, %rdi
	callq	_x25_check_rbuf
	jmp	LBB0_8
LBB0_4:
	movl	(%rbx), %eax
	movq	_TCP_LISTEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.5:
	movq	_SOCK_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sock_flag
	testl	%eax, %eax
	jne	LBB0_6
	jmp	LBB0_8
	.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
	.no_dead_strip	_x25_heartbeat_expiry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x25_heartbeat_expiry
_x25_heartbeat_expiry:                  ; @x25_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	_bh_lock_sock
	mov	x0, x19
	bl	_sock_owned_by_user
	cbz	x0, LBB0_2
LBB0_1:
	mov	x0, x19
	bl	_x25_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
LBB0_2:
	mov	x0, x19
	bl	_x25_sk
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_1
; %bb.4:
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_5:
	mov	x0, x19
	bl	_bh_unlock_sock
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_x25_destroy_socket_from_timer
LBB0_6:
	mov	x0, x19
	bl	_x25_check_rbuf
	b	LBB0_1
LBB0_7:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _TCP_LISTEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TCP_LISTEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_1
; %bb.8:
Lloh6:
	adrp	x8, _SOCK_DEAD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOCK_DEAD@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sock_flag
	cbnz	w0, LBB0_5
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.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
	.no_dead_strip	_x25_heartbeat_expiry
.subsections_via_symbols
